0
The app displays random questions by following as template to QuestionsActivity
, that is, the user chooses true or false and will only change the question (textView
) and the screen design will remain the same. My questions are in a AsyncTask
, their order is random and should not be repeated but I call this Asynctask no onCreate
of my QuestionsActivity
. This will give the biggest bug. How do I access "recursively" my QuestionsActivity
in a way that only instates my Asynctask ONCE (at the moment that opens the App)?
What you can do is instead of having to create a new Activity (or recreate it) for each screen (question), if the layout and functions (features) of the application is the same for all questions and only exchange the content of the question, you may not recreate the whole Activity, but rather draw the new issue restore original screen state and play values.
– Fernando Leal