Package com.skydoves.bindables

Types

BindingActivity
Link copied to clipboard
abstract class BindingActivity<T : ViewDataBinding>(@LayoutRes() contentLayoutId: Int) : AppCompatActivity
BindingDialogFragment
Link copied to clipboard
abstract class BindingDialogFragment<T : ViewDataBinding>(@LayoutRes() contentLayoutId: Int) : DialogFragment
BindingFragment
Link copied to clipboard
abstract class BindingFragment<T : ViewDataBinding>(@LayoutRes() contentLayoutId: Int) : Fragment
BindingManager
Link copied to clipboard
object BindingManager
BindingModel
Link copied to clipboard
abstract class BindingModel : BindingObservable
BindingObservable
Link copied to clipboard
interface BindingObservable : Observable
BindingPropertyIdWithDefaultValue
Link copied to clipboard
class BindingPropertyIdWithDefaultValue<T>(value: T)
BindingRecyclerViewAdapter
Link copied to clipboard
BindingViewModel
Link copied to clipboard
abstract class BindingViewModel : ViewModel, BindingObservable
FlowBindingPropertyIdWithDefaultValue
Link copied to clipboard
class FlowBindingPropertyIdWithDefaultValue<T>(flow: Flow<T>, defaultValue: T)
class FlowBindingPropertyIdWithDefaultValueOnScope<T>(flow: Flow<T>, coroutineScope: CoroutineScope, defaultValue: T)
SavedStateHandleBindingProperty
Link copied to clipboard
class SavedStateHandleBindingProperty<T>(savedStateHandle: SavedStateHandle, key: String)
StateFlowBindingPropertyId
Link copied to clipboard
class StateFlowBindingPropertyId<T>(stateFlow: StateFlow<T>)
StateFlowBindingPropertyIdOnScope
Link copied to clipboard
class StateFlowBindingPropertyIdOnScope<T>(coroutineScope: CoroutineScope, stateFlow: StateFlow<T>)

Functions

asBindingProperty
Link copied to clipboard
fun <T> StateFlow<T>.asBindingProperty(): StateFlowBindingPropertyId<T>
fun <T> Flow<T>.asBindingProperty(defaultValue: T): FlowBindingPropertyIdWithDefaultValue<T>
fun <T> StateFlow<T>.asBindingProperty(coroutineScope: CoroutineScope): StateFlowBindingPropertyIdOnScope<T>
fun <T> Flow<T>.asBindingProperty(coroutineScope: CoroutineScope, defaultValue: T): FlowBindingPropertyIdWithDefaultValueOnScope<T>
binding
Link copied to clipboard
fun <T : ViewDataBinding> ViewGroup.binding(@LayoutRes() layoutRes: Int, attachToParent: Boolean = false): T
fun <T : ViewDataBinding> ViewGroup.binding(@LayoutRes() layoutRes: Int, attachToParent: Boolean = false, block: T.() -> Unit): T
bindingProperty
Link copied to clipboard
fun <T> bindingProperty(defaultValue: T): BindingPropertyIdWithDefaultValue<T>