Package com.drake.engine.databinding

Types

DataBindingComponent
Link copied to clipboard
object DataBindingComponent
GlideDataBindingComponent
Link copied to clipboard
object GlideDataBindingComponent
ObservableImpl
Link copied to clipboard
interface ObservableImpl : Observable
A convenience class that implements android.databinding.
ObservableViewModel
Link copied to clipboard
class ObservableViewModel : ViewModel, ObservableImpl
快速创建实现ViewModel和Observable

Functions

bind
Link copied to clipboard
fun <A : ViewDataBinding> View.bind(): A
inflate
Link copied to clipboard
fun <A : ViewDataBinding> Context.inflate(@LayoutRes() layout: Int): A
fun <A : ViewDataBinding> ViewGroup.inflate(@LayoutRes() layout: Int): A
setContent
Link copied to clipboard
fun <A : ViewDataBinding> Activity.setContent(@LayoutRes() layout: Int): A