This library uses this idea to implement in-memory storage. There are two simple principles:
✔️ Simplify Caching in Android
Caching is just a simple key-value pair data saving procedure. StoreX follows the same approach. StoreX uses SharedPreference as storage for caching data. Since we really can't just save the original data because of security issues. StoreX uses AES encryption & decryption behind the scene when you are caching data or fetching data from the cache. Also, you can observer cached data in real-time.
A feasible caching library for Android.
How does it work?
Caching is just a simple key-value pair data saving procedure. CacheX follows the same approach. CacheX uses SharedPreference as storage for caching data. Since we really can't just save the original data because of security issues. CacheX uses AES encryption & decryption behind the scene when you are caching data or fetching data from the cache. Also, you can observer cached data in real-time.
Cold storage is a lightweight caching library for android.
You can annotate a method to cache it's output or cache the outputs of all methods in a class by annotating the class.
You can configure the cache by specifying expiration time and maximum size .
For the latest releases and features check out the repository.
Cold storage is a lightweight caching library that will make all the caching complexities abstract and allow you to solely focus on the application logic.
The cold storage takes care of removing stale data, updating cache and persisting them in shared preferences if required.
Cold storage also supports caching using just annotations.
An easy library to manage stored data in shared preferences.
Disk LRU (least recently used) cache with persisted journal. This cache has specific capacity and location. Rarely requested files are evicted by actively used. Lightweight and extremely easy to use.
A simple library for saving data in the cache and reading them.
Now it's very easy to save objects and lists! Caching + Gson = Easy Save. Save objects and lists like preferences, with the power of caching!
This is a minimal library without dependencies that offers a simple cache file provider.
Policy-based cache container for Java, Android.
Repoli is supported some platforms. You can use below modules:
android.support.v4.util.LruCache and uses code from article to measure size of objects in heap.
This library provides an easy way for configure retrofit for use a 2 layer cache (RAM and Disk).
Exception handling is always a cumbersome but unavoidable part of dealing with disk cache on Android. Complex error handling not only makes your code hard to understand, but also prone to developer errors. IgDiskCache is a fault-tolerant Android disk cache library that helps simplify the error handling logic and makes your file caching code cleaner and much easier to maintain.
One of the fastest caching libraries for Java. Lots of features for advanced integrations of external systems: (Variable entry) expiry, exception handling with configurable resilience, loaders/writers, events, statistics. Configuration can also be done via XML (optional feature).
Library allows to cache Observables during orientation change. It's useful during HTTP request, which must be performed only once. After onComplete, Observables are automatically removed from cache.
ObservableCacheService is additional layer over ObservableCache, which generate classes with access to Observables in cache.
RxObservableDiskCache is a library to save the results of
Singles or single value
Observables request on a local disk cache, so the next time the same request is called you get an immediate result.
A reactive cache for Android and Java which honors the
A simple generic LRU memory/disk cache for Android written in Kotlin.
An Android library to cache any serializable objects to disk, using a LRU cache implementation, with the possibility to specify an expiry time for each entry and a maximum size that can be allocated.
Proxy Cache Manager annotation that helps you to cache your repository method calls.
Inspired by Retrofit api, RxCache is a reactive caching library for Android and Java which turns your caching needs into an interface.
A memcached-like Java cache, focused on portability, great for Android.
This is a simple Android utils library to write any type of data into cache files and then read them later, using
Gson to serialize and deserialize these data.
A tiny, thread safe memory cache implementation which uses a LRU policy.