GeoQuiz - Add Random Image


I apologize if this has already been answered but I couldn’t find it here on the board.

After completing the GeoQuiz successfully I wanted to step it up a notch. I added a counter and a timer for the GeoQuiz but the last thing I can’t figure out is how to add a random image on a question.

For example. I may have an question which I need to show an image along with the question. I can’t figure out what I’d need to do to make that happen. Not all questions will have images, only some. I’m not sure if that requires another activity? Not sure if I might need to just add a Image view in the xml and just show and hide it based on the the questions. Just not sure.

Can someone help me with this?