Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AndroidCoderTools/coder-tools-object-cacher

Open more actions menu

Repository files navigation

What is Object cache ?

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.

How 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);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.