StateFlowBindingPropertyId

class StateFlowBindingPropertyId<T>(stateFlow: StateFlow<T>)

Author

skydoves (Jaewoong Eum)

A state flow delegate class for collecting value and notifying changed value on a property.

Parameters

stateFlow

A state flow for providing data.

Constructors

StateFlowBindingPropertyId
Link copied to clipboard
fun <T> StateFlowBindingPropertyId(stateFlow: StateFlow<T>)
A state flow for providing data.

Types

Delegate
Link copied to clipboard
class Delegate<T>(stateFlow: StateFlow<T>, 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(bindingViewModel: BindingViewModel, property: KProperty<*>): StateFlowBindingPropertyId.Delegate<T>
toString
Link copied to clipboard
open fun toString(): String