Nguyễn Ngọc Tâm Quyên
Member
How do you store data in details using shared preference?
Answer
Shared Preferences allow you to save and retrieve data in the form of key,value pair. In order to use shared preferences, you have to
call a method getSharedPreferences() that returns a SharedPreference instance pointing to the file that contains the values of preferences.
Answer
Shared Preferences allow you to save and retrieve data in the form of key,value pair. In order to use shared preferences, you have to
call a method getSharedPreferences() that returns a SharedPreference instance pointing to the file that contains the values of preferences.