StateFlowBindingPropertyIdOnScope

class StateFlowBindingPropertyIdOnScope<T>(coroutineScope: CoroutineScope, stateFlow: StateFlow<T>)

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>)
A CoroutineScope where the collecting should be lunched.

Types

Delegate
Link copied to clipboard
class Delegate<T>(stateFlow: StateFlow<T>, coroutineScope: CoroutineScope, bindingId: Int)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
provideDelegate
Link copied to clipboard
operator fun provideDelegate(bindingObservable: BindingObservable, property: KProperty<*>): StateFlowBindingPropertyIdOnScope.Delegate<T>
toString
Link copied to clipboard
open fun toString(): String