For a week I have been searching and trying but I cannot find a proper solution for the following Android issue. (This is how I see it now and it may be the wrong approach)
We have a MainActivity and 3 Fragments: SingleAnswer, MultipleAnswer and ImageAnswer. The MainActivity retrieves an object with a random amount of questionTypes. The MainActivity uses starts a fragment based on the retrieved object.
How can I iterate through Fragments?
For example: First there is a MultipleAnswer Fragment and a answer is selected by the user. Then the next Fragment has to be loaded...
I don't know if this approach is right or if I have to look for something else than Fragments.