android - SharedPreferences for serialization? -
i'm rather new android development, , trying learn bit of hobby project. app has relatively small amount of state needs stored main activity in order app resume properly. moreover, since app syncs webapp, have json-based serialization logic included state might want save. use of sharedpreferences store relatively small (~ few kib) strings serialize objects? better use internal storage , write out text file? advice!
shared prefs way save kind of data. don't know better using file in internal storage. (if lot of data, i'd consider using file on sdcard.)
Comments
Post a Comment