AndroidRetrostashStore
class AndroidRetrostashStore(context: ERROR CLASS: Symbol not found for Context, config: RetrostashOkHttpConfig = RetrostashOkHttpConfig()) : RetrostashStore
Android-specific RetrostashStore backed by:
Context.cacheDir/<config.cacheDirName>/— payload files (one per cached entry).SharedPreferences(<config.prefsName>)— JSON index ofkey → metadata.
Survives process restarts. Capped by RetrostashOkHttpConfig.maxEntries and RetrostashOkHttpConfig.maxBytes (LRU eviction). Thread-safe via internal monitor.
Constructors
Link copied to clipboard
constructor(context: ERROR CLASS: Symbol not found for Context, config: RetrostashOkHttpConfig = RetrostashOkHttpConfig())