public static void storeContentInSharedPreferences ( SharedPreferences sharedPreferences , String key , String value ) { Editor editor = sharedPreferences . edit ( ) ; editor . putString ( key , value ) ; editor . commit ( ) ; }
Store the key value in SharedPreferences