Package dev. icerock. moko. mvvm. binding
Functions
bindEnabled
Link copied to clipboard
fun <ERROR CLASS>.bindEnabled(liveData: LiveData<Boolean>, enabledColor: <ERROR CLASS>? = null, disabledColor: <ERROR CLASS>? = null)
Content copied to clipboard
bindFocusTwoWay
Link copied to clipboard
bindImages
Link copied to clipboard
fun <ERROR CLASS>.bindImages(liveData: LiveData<Boolean>, trueImage: <ERROR CLASS>, falseImage: <ERROR CLASS>)
Content copied to clipboard
bindText
Link copied to clipboard
fun <ERROR CLASS>.bindText(liveData: LiveData<<ERROR CLASS>>, formatter: (String) -> String = { it })
Content copied to clipboard
fun <ERROR CLASS>.bindText(liveData: LiveData<<ERROR CLASS>>, formatter: (String) -> String? = null)
Content copied to clipboard
fun <ERROR CLASS>.bindText(liveData: LiveData<<ERROR CLASS>>, formatter: (String) -> String? = null)
Content copied to clipboard
fun <ERROR CLASS>.bindText(liveData: LiveData<String>, formatter: (String) -> String = { it })
Content copied to clipboard
bindTextTwoWay
Link copied to clipboard
fun <ERROR CLASS>.bindTextTwoWay(liveData: MutableLiveData<String>, formatter: (String) -> String? = null, reverseFormatter: (String) -> String? = null)
Content copied to clipboard
fun <ERROR CLASS>.bindTextTwoWay(liveData: MutableLiveData<String>, formatter: (String) -> String? = null, reverseFormatter: (String) -> String? = null)
Content copied to clipboard
bindValueTwoWay
Link copied to clipboard
bindVisibility
Link copied to clipboard
fun <ERROR CLASS>.bindVisibility(liveData: LiveData<Boolean>, inverted: Boolean = false)
Content copied to clipboard