private static void storeAskLaterDate ( final Context context ) { SharedPreferences pref = context . getSharedPreferences ( PREF_NAME , Context . MODE_PRIVATE ) ; Editor editor = pref . edit ( ) ; editor . putLong ( KEY_ASK_LATER_DATE , System . currentTimeMillis ( ) ) ; editor . apply ( ) ; }
Store the date the user asked for being asked again later .