TinyDB--Android-Shared-Preferences-Turbo
TinyDB--Android-Shared-Preferences-Turbo copied to clipboard
This class simplifies calls to SharedPreferences in a line of code. It can also do more like: saving a list of Strings, ints, and saving images. All in 1 line of code!
Can you guys please provide this class in kotlin?
how to use .. public Object getObject(String key, Class classOfT){ String json = getString(key); Object value = new Gson().fromJson(json, classOfT); if (value == null) throw new NullPointerException(); return value; }...
I have been trying to retrieve ListObjects but all to no avail. The issue here is the mClass. How do I go about it? Thanks. Nice work anyways
This class was deprecated in API level 29. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings....
I am using the phenomenal class! I can add, remove everything right! But I need to list all the "Key" I used in `tinydb.putListObject ("KEY", img);` Is it possible to...
How to delete the object class values. I use this in putobject. fun putObject(key: String, value: Any, context: Context) { TinyDB(context).putObject(key, value) } but I need to delete also the...
Hi , My api interface class like this ``` public interface ApiInterface { @FormUrlEncoded @Headers("wkey",***********TinyDB*********) @POST("srrvk") Call GETJOINALLOWEDINNOLIST(@Field("a") Integer lastOrderId, @Field("b") Integer rowCount); ``` I saved a wkey parameter in...