TypedSavedStateHandle
class TypedSavedStateHandle(delegate: SavedStateHandle) : BundleValueGetter, BundleValueSetter
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getCharSequenceArray(name: String): Array<CharSequence>?
Content copied to clipboard
Link copied to clipboard
open override fun getCharSequenceArrayList(name: String): ArrayList<CharSequence>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <T : Parcelable> getParcelable(name: String, kclass: KClass<T>): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <T : Parcelable> getParcelableArrayList(name: String, kclass: KClass<T>): ArrayList<T>?
Content copied to clipboard
Link copied to clipboard
open override fun <T : Serializable> getSerializable(name: String, kclass: KClass<T>): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <T : Parcelable> getSparseParcelableArray(name: String, kclass: KClass<T>): SparseArray<T>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setCharSequenceArray(name: String, value: Array<CharSequence>?)
Content copied to clipboard
Link copied to clipboard
open override fun setCharSequenceArrayList(name: String, value: ArrayList<CharSequence>?)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <T : Parcelable> setParcelable(name: String, value: T?)
Content copied to clipboard
Link copied to clipboard
open override fun <T : Parcelable> setParcelableArray(name: String, value: Array<T>?)
Content copied to clipboard
Link copied to clipboard
open override fun <T : Parcelable> setParcelableArrayList(name: String, value: ArrayList<T>?)
Content copied to clipboard
Link copied to clipboard
open override fun <T : Serializable> setSerializable(name: String, value: T?)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <T : Parcelable> setSparseParcelableArray(name: String, value: SparseArray<T>?)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setStringArrayList(name: String, value: ArrayList<String>?)
Content copied to clipboard
Extensions
Link copied to clipboard
fun <T, BACKED_BY> TypedSavedStateHandle.getLiveData(key: Key<T, BACKED_BY, *, *>): 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> TypedSavedStateHandle.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
Link copied to clipboard
fun <T> TypedSavedStateHandle.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
Link copied to clipboard
fun <T> TypedSavedStateHandle.property(key: BundleKey<T, *>): 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
inline fun <T> TypedSavedStateHandle.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