We can save Objects or some parameter in memory and local cache, this project meets this issue. And we can load it when we want to use.
gradle config:
compile 'coder.tools.sdk:coder-tools-object-cacher-lib:2.0.0'
LocalCache = new LocalCache();
Or
LocalCache = new LocalCache(cacheDir);
And save and get:
String key = System.currentTimeMillis()+"1";
localCache.putAndSave(this, key, "String:" + System.currentTimeMillis());
String vS = (String)localCache.getInner(context,key);