I am making a food page. One of the page shows all of the restaurants that I have visited with a cover image and restaurant name. And when I click inside, I want the dynamic item page to show the pictures from corresponding restaurants. I have successfully made the first part and created the dynamic page. However I do not know how to do the second part.
I have followed the instruction of this article. However, I failed to make it.
I have created two data base. One is called Restaurants, having the cover image and the name.
Afterward, in the dynamic item page, I have added a gallery and connected to the PhotoGallery. I am not sure which source should I link to cause it would be photo in the PhotoGallery like it can be two or three.
And I have input the java code as stated. Restaurant is the ID of Restaurants data set and PhotoGallery is just the same with Restaurant as the filter.
Is there anyone can help to provide a solution for me? Thank you.
I am not sure about if this is related. I have added all the photos to gallery as well.
I tried to use these code, it works but the number of photos in each gallery is not the same.
Therefore, in some of the gallery in dynamic item page, it becomes grey in color.
How to solve this?