title: How to save state of my android app after closing?
body: <p>I've been working on an app lately and didnt figure out how to save the state of my application after closing ,i found something about SharedPreferences but i saw that it saves a (key,value) ,it can help if i want to store the username and the password but how to store the whole state of the app ?</p>
  
  <p>Thanks.</p>