December 24th, 2012, 06:14 PM
Thread Author (OP)
Join Date: Dec 2012
Carrier: Not Provided
Thanked 0 Times in 0 Posts
Create a new Activity or update view of existing activity?
I am very new to android development. I am working on developing an app and I am not sure when should I use a new activity and when should I update the existing view.
For example, lets say I have a view that shows a multiple choice question.Now, when the user selects his choices and clicks on say "Evaluate", I want to show the same question view but along with the right answers and explanations for each option. So does that mean, I should send an Intent upon a click on Evaluate or I should just update the view (i am not sure how)?
If I send an intent and show a new screen, how can the user go back to the next question without displaying the answers?
If I don't create an new activity, how can I update the existing view that is already displayed?
I guess I am just confused about the flow. Please pardon me if my question doesn't make any sense.