i have this Json Data
and i prasing the data in in this json to this ,,
now i want when user click on the image of the application open another acti
Here you are fetching first image from each array by doing following
....getJSONArray(entryKey).getJSONObject(i).getJSONArray(imageKey).getJSONObject(0)...
whereas you need to fetch all the images related to selected image from the array so iterate your array on the inner image array im:image
, not on outer main array entry
. follow these steps
entry
and check if the clicked items id matches in the array entry
.im:immage
and store those images in your list. And apply that list to your recyclerview
.Hope this helps.