Package-level declarations

Functions

Link copied to clipboard
fun <T, BACKED_BY> SavedStateHandle.flow(key: AsyncKey<T, BACKED_BY, *, *>): Flow<T>
fun <T, BACKED_BY> SavedStateHandle.flow(key: Key<T, BACKED_BY, *, *>): Flow<T>
fun <T, BACKED_BY> TypedSavedStateHandle.flow(key: Key<T, BACKED_BY, *, *>): Flow<T>
Link copied to clipboard
suspend fun <T> SavedStateHandle.get(key: AsyncBundleKey<T, *>): T
fun <T> SavedStateHandle.get(key: BundleKey<T, *>): T
Link copied to clipboard
Link copied to clipboard
fun <T, BACKED_BY> SavedStateHandle.getStateFlow(key: AsyncKey<T, BACKED_BY, *, *>, scope: CoroutineScope, started: SharingStarted): StateFlow<T?>
fun <T, BACKED_BY> SavedStateHandle.getStateFlow(key: Key<T, BACKED_BY, *, *>, scope: CoroutineScope, started: SharingStarted): StateFlow<T>
fun <T, BACKED_BY> TypedSavedStateHandle.getStateFlow(key: AsyncKey<T, BACKED_BY, *, *>, scope: CoroutineScope, started: SharingStarted): StateFlow<T?>
fun <T, BACKED_BY> TypedSavedStateHandle.getStateFlow(key: Key<T, BACKED_BY, *, *>, scope: CoroutineScope, started: SharingStarted): StateFlow<T>
Link copied to clipboard
fun <T> SavedStateHandle.mutableStateFlow(key: AsyncBundleKey<T, *>, scope: CoroutineScope, debounceWrites: Duration = Duration.ZERO): MutableStateFlow<T?>
fun <T> SavedStateHandle.mutableStateFlow(key: BundleKey<T, *>, scope: CoroutineScope, debounceWrites: Duration = Duration.ZERO): MutableStateFlow<T>
fun <T> TypedSavedStateHandle.mutableStateFlow(key: AsyncBundleKey<T, *>, scope: CoroutineScope, debounceWrites: Duration = Duration.ZERO): MutableStateFlow<T?>
fun <T> TypedSavedStateHandle.mutableStateFlow(key: BundleKey<T, *>, scope: CoroutineScope, debounceWrites: Duration = Duration.ZERO): MutableStateFlow<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun <T> SavedStateHandle.set(key: AsyncBundleKey<T, *>, value: T)
fun <T> SavedStateHandle.set(key: BundleKey<T, *>, value: T)
Link copied to clipboard
fun <T> SavedStateHandle.setSavedStateProvider(key: BundleKey<T, Bundle?>, provider: () -> T)
Link copied to clipboard
Link copied to clipboard
inline suspend fun <T> SavedStateHandle.update(key: AsyncBundleKey<T, *>, reducer: (T) -> T)
inline fun <T> SavedStateHandle.update(key: BundleKey<T, *>, reducer: (T) -> T)
inline suspend fun <T> TypedSavedStateHandle.update(key: AsyncBundleKey<T, *>, reducer: (T) -> T)
inline fun <T> TypedSavedStateHandle.update(key: BundleKey<T, *>, reducer: (T) -> T)