title: how to delete sharedpreference after 60minutes
body: <p>I want to store login data but I want that data to be deleted after 60 minutes.
  What is the proper way to do this?</p>
  
  <p>The app can be closed, stopped, opened in these 60 minutes.
  I don't want to use an internal database.</p>
  
  <p>Here is my code for accessing <code>SharedPreferences</code></p>
  
  <pre><code>sharedpreferences = getSharedPreferences(MyPREFERENCES, Context.MODE_PRIVATE);
  SharedPreferences.Editor editor = sharedpreferences.edit();
  editor.putString(Username, usernameTxt);
  editor.putString(Password, passwordTxt);
  </code></pre>