State Flow Binding Property Id On Scope
class StateFlowBindingPropertyIdOnScope<T>(coroutineScope: CoroutineScope, stateFlow: StateFlow<T>)
Content copied to clipboard
Author
skydoves (Jaewoong Eum)
A state flow delegate class for collecting value and notifying changed value on a property.
Parameters
coroutineScope
A CoroutineScope where the collecting should be lunched.
stateFlow
A state flow for providing data.
Constructors
StateFlowBindingPropertyIdOnScope
Link copied to clipboard
fun <T> StateFlowBindingPropertyIdOnScope(coroutineScope: CoroutineScope, stateFlow: StateFlow<T>)
Content copied to clipboard
A CoroutineScope where the collecting should be lunched.
Types
Functions
provideDelegate
Link copied to clipboard
operator fun provideDelegate(bindingObservable: BindingObservable, property: KProperty<*>): StateFlowBindingPropertyIdOnScope.Delegate<T>
Content copied to clipboard