Skip to content

Instantly share code, notes, and snippets.

@smaspe
Last active December 20, 2015 16:59
Show Gist options
  • Save smaspe/6165209 to your computer and use it in GitHub Desktop.
Save smaspe/6165209 to your computer and use it in GitHub Desktop.
for (int i = 0; i < images.length(); i++) {
JSONObject object = images.optJSONObject(i);
if (object != null) {
mAdapter.add(object.optString("description"));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment