SharedPreferencesCache

class SharedPreferencesCache : Cache

An implementation of Cache which stores key value pairs in Android SharedPreferences.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun get(key: String): String?

Look up the key that was previously saved.

Link copied to clipboard
open override fun set(key: String, value: String)

Save a value with the associated key.