1

I wanted to save boolean for my application to avoid the restart scenario because when the application is kept in Recent history for long time It restarts the activity.

What will be the better option sharedPre

user1169079
  • 3,053
  • 5
  • 42
  • 71
  • 2
    about onSavedInstance read this http://stackoverflow.com/a/151822/1436931 good answer. I hope it will help you to decide what you want to do. – Mohsin Naeem Jul 19 '12 at 03:40

0 Answers0