Package-level declarations
Types
Link copied to clipboard
object PreferencesModule
The module for modifying preferences.
Link copied to clipboard
Functions
Link copied to clipboard
Collects the the value of key as a state.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> ComponentActivity.observe(key: Preferences.Key<T>, default: T, @WorkerThread callback: suspend (value: T) -> Unit): Job
Observes the values sent to key while the Activity is started. Will pause onPause, and restart after onStart.
Link copied to clipboard
Link copied to clipboard