Package com.episode6.typed2.savedstatehandle
Types
Link copied to clipboard
class TypedSavedStateHandle(delegate: SavedStateHandle) : BundleValueGetter, BundleValueSetter
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun <T, BACKED_BY> SavedStateHandle.flow(key: AsyncKey<T, BACKED_BY, *, *>): Flow<T>
Content copied to clipboard
fun <T, BACKED_BY> SavedStateHandle.flow(key: Key<T, BACKED_BY, *, *>): Flow<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T, BACKED_BY> SavedStateHandle.getLiveData(key: Key<T, BACKED_BY, *, *>): MutableLiveData<T>
Content copied to clipboard
fun <T, BACKED_BY> TypedSavedStateHandle.getLiveData(key: Key<T, BACKED_BY, *, *>): MutableLiveData<T>
Content copied to clipboard
fun <T, BACKED_BY> SavedStateHandle.getLiveData(key: AsyncKey<T, BACKED_BY, *, *>, scope: CoroutineScope): MutableLiveData<T>
Content copied to clipboard
fun <T, BACKED_BY> TypedSavedStateHandle.getLiveData(key: AsyncKey<T, BACKED_BY, *, *>, scope: CoroutineScope): MutableLiveData<T>
Content copied to clipboard
Link copied to clipboard
fun <T, BACKED_BY> SavedStateHandle.getStateFlow( key: AsyncKey<T, BACKED_BY, *, *>, scope: CoroutineScope, started: SharingStarted): StateFlow<T?>
Content copied to clipboard
fun <T, BACKED_BY> SavedStateHandle.getStateFlow( key: Key<T, BACKED_BY, *, *>, scope: CoroutineScope, started: SharingStarted): StateFlow<T>
Content copied to clipboard
fun <T, BACKED_BY> TypedSavedStateHandle.getStateFlow( key: AsyncKey<T, BACKED_BY, *, *>, scope: CoroutineScope, started: SharingStarted): StateFlow<T?>
Content copied to clipboard
fun <T, BACKED_BY> TypedSavedStateHandle.getStateFlow( key: Key<T, BACKED_BY, *, *>, scope: CoroutineScope, started: SharingStarted): StateFlow<T>
Content copied to clipboard
Link copied to clipboard
fun <T> SavedStateHandle.mutableStateFlow( key: AsyncBundleKey<T, *>, scope: CoroutineScope, debounceWrites: Duration = Duration.ZERO): MutableStateFlow<T?>
Content copied to clipboard
fun <T> SavedStateHandle.mutableStateFlow( key: BundleKey<T, *>, scope: CoroutineScope, debounceWrites: Duration = Duration.ZERO): MutableStateFlow<T>
Content copied to clipboard
fun <T> TypedSavedStateHandle.mutableStateFlow( key: AsyncBundleKey<T, *>, scope: CoroutineScope, debounceWrites: Duration = Duration.ZERO): MutableStateFlow<T?>
Content copied to clipboard
fun <T> TypedSavedStateHandle.mutableStateFlow( key: BundleKey<T, *>, scope: CoroutineScope, debounceWrites: Duration = Duration.ZERO): MutableStateFlow<T>
Content copied to clipboard
Link copied to clipboard
fun <T> SavedStateHandle.property(key: BundleKey<T, *>): DelegateProperty<T>
Content copied to clipboard
fun <T> TypedSavedStateHandle.property(key: BundleKey<T, *>): DelegateProperty<T>
Content copied to clipboard
fun <T> SavedStateHandle.property(key: AsyncBundleKey<T, *>, scope: CoroutineScope): DelegateProperty<T?>
Content copied to clipboard
fun <T> TypedSavedStateHandle.property(key: AsyncBundleKey<T, *>, scope: CoroutineScope): DelegateProperty<T?>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun <T> SavedStateHandle.set(key: AsyncBundleKey<T, *>, value: T)
Content copied to clipboard
Link copied to clipboard
fun <T> SavedStateHandle.setSavedStateProvider(key: BundleKey<T, Bundle?>, provider: () -> T)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline suspend fun <T> SavedStateHandle.update(key: AsyncBundleKey<T, *>, reducer: (T) -> T)
Content copied to clipboard
inline fun <T> SavedStateHandle.update(key: BundleKey<T, *>, reducer: (T) -> T)
Content copied to clipboard
inline suspend fun <T> TypedSavedStateHandle.update(key: AsyncBundleKey<T, *>, reducer: (T) -> T)
Content copied to clipboard