Re-load Android activity data

Posted by rhinds on Stack Overflow See other posts from Stack Overflow or by rhinds
Published on 2010-05-23T17:32:19Z Indexed on 2010/05/23 17:41 UTC
Read the original article Hit count: 228

Filed under:
|
|

Hi,

I am writing an Android app, part of which will be a survey involving multiple pages of checkbox question and answers. I have created an activity to display the question and options (from the DB) and what I want to do now is when i press the "Next" button it should just reload the current activity with the next question set from the database.

(the activity starts with survey.getNextQuestion() - so its just a case of refreshing the activity so it updates)

Im sure this is a simple thing to do -any ideas?

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about android