Package dev.icerock.moko.mvvm.binding

Functions

bindEnabled
Link copied to clipboard
ios
fun <ERROR CLASS>.bindEnabled(liveData: LiveData<Boolean>, enabledColor: <ERROR CLASS>? = null, disabledColor: <ERROR CLASS>? = null)
bindFocus
Link copied to clipboard
ios
fun <ERROR CLASS>.bindFocus(liveData: LiveData<Boolean>)
fun <ERROR CLASS>.bindFocus(liveData: LiveData<Boolean>)
bindFocusTwoWay
Link copied to clipboard
ios
fun <ERROR CLASS>.bindFocusTwoWay(liveData: MutableLiveData<Boolean>)
fun <ERROR CLASS>.bindFocusTwoWay(liveData: MutableLiveData<Boolean>)
bindImages
Link copied to clipboard
ios
fun <ERROR CLASS>.bindImages(liveData: LiveData<Boolean>, trueImage: <ERROR CLASS>, falseImage: <ERROR CLASS>)
bindText
Link copied to clipboard
ios
fun <ERROR CLASS>.bindText(liveData: LiveData<<ERROR CLASS>>, formatter: (String) -> String = { it })
fun <ERROR CLASS>.bindText(liveData: LiveData<<ERROR CLASS>>, formatter: (String) -> String? = null)
fun <ERROR CLASS>.bindText(liveData: LiveData<<ERROR CLASS>>, formatter: (String) -> String? = null)
fun <ERROR CLASS>.bindText(liveData: LiveData<String>, formatter: (String) -> String = { it })
fun <ERROR CLASS>.bindText(liveData: LiveData<String>, formatter: (String) -> String? = null)
fun <ERROR CLASS>.bindText(liveData: LiveData<String>, formatter: (String) -> String? = null)
bindTextTwoWay
Link copied to clipboard
ios
fun <ERROR CLASS>.bindTextTwoWay(liveData: MutableLiveData<String>, formatter: (String) -> String? = null, reverseFormatter: (String) -> String? = null)
fun <ERROR CLASS>.bindTextTwoWay(liveData: MutableLiveData<String>, formatter: (String) -> String? = null, reverseFormatter: (String) -> String? = null)
bindTitle
Link copied to clipboard
ios
fun <ERROR CLASS>.bindTitle(liveData: LiveData<<ERROR CLASS>>)
fun <ERROR CLASS>.bindTitle(liveData: LiveData<String>)
bindValue
Link copied to clipboard
ios
fun <ERROR CLASS>.bindValue(liveData: LiveData<Boolean>)
bindValueTwoWay
Link copied to clipboard
ios
fun <ERROR CLASS>.bindValueTwoWay(liveData: MutableLiveData<Boolean>)
bindVisibility
Link copied to clipboard
ios
fun <ERROR CLASS>.bindVisibility(liveData: LiveData<Boolean>, inverted: Boolean = false)