Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

TextBindingType

CraZyLegenD edited this page Sep 2, 2020 · 2 revisions
enum class TextBindingType {
    STRING, STRING_RES, PRECOMPUTED_STRING, PRECOMPUTED_STRING_RES
}

This type is self explanatory, the type STRING is the default value for all text bindings and it binds a String to a text view binding.

The type STRING_RES binds R.string.myString to a text view binding, meaning it takes @StringRes value as a property.

For the precomputed text, read the docs.

Clone this wiki locally