Save your Gson object to Android Shared Preferences*
Imagine you have plenty of static data in JSON, and you have to save it to application state. Then this lib is suitable for you.
See Wiki for full docs : https://github.com/hynra/GSON-SharedPreferences/wiki
Secure Android SharedPreferences Using Conceal Crypto by Facebook.Conceal provides a set of Java APIs to perform cryptography on Android. It was designed to be able to encrypt large files on disk in a fast and memory efficient manner. Implementation on SharedPreferences of Android would be great data Encryption and Decryption.
A Kotlin library for reactive and boilerplate-free Shared Preferences in Android. With KPreferences you can use Kotlin's marvelous delegate concept to easily use Android's Shared Preferences. Features:
SharedPreferencesproperties with one line and without
applyor ... boilerplate codes
SharedPreferenceschanges without any memory leak
CipherSharedPrefs implements SharedPreferences with encryption layer and some new features.
When you put value to CipherSharedPreferences it is transformed to String and encrypted by provided ICipherHolder object, encrypted string is saved to SharedPreferences delegate.