I have created a quiz app where within the same screen can press the “forward” button to next question and “back” button to previous question.
How to create the blocks where:
When I answer the question with selected option ( A,B,C & D) then if I go to next question and if back to previous question should see back my previous selected answer ?
Example 1 :
Question 1 : If answer B and C where C is the correct answer,
Then I press forward button for Question 2 and go back to Question 1 then should see both my wrong and correct answer.
Example 2:
Question 2: I answer A where this is correct answer.
Then I press back button to go Question 1. ( At this stage I want to see my previous selected answer)
Later if I go back to Question 2: At this stage, I should see the selected answer that I choose before -Answer A .
Then If I go to Question 3, I should select the answer and should not carry forward from the previous page.