my 1st page have a spinner, that will parse value to the 2nd activity.. I set onBackPressed on the 2nd page to go back to my home page, but the problem is, the spinner selection is not being reset.. why?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you return from activity B to activity A, the onRestart method in activity A will be called.
You can override that method and clear you spinner there.
Here is an explanation: