sorry for my english
JSONArray detailPhotos = (JSONArray) detitems.getJSONArray("detail_photos");
if(detailPhotos != null){
for (int v = 0; v < detailPhotos.length(); v++) {
ImageView newImg = new ImageView(this);
try {
aq.id(newImg).image(detailPhotos.getJSONObject(v).getString("src").toString());
Log.d("aloha","src" + v);
} catch (JSONException e) {
e.printStackTrace();
}
mnogophotos.addView(newImg);
}
}
0 comments:
Post a Comment