Is using Shared Preferences for storing user data reliable?
-
28-09-2019 - |
문제
Will the data still be there after the user restarts his / her phone or changes SIM / battery?
해결책
Yes. The data is persistent. Unless the user 'restores it to factory defaults'
다른 팁
SharedPreferences are stored in the phone's internal memory, not the SD card.
They won't be erased by a reboot/battery change either.
제휴하지 않습니다 StackOverflow