Package-level declarations
Types
Functions
Extension function to bind a LiveData String to the context description of a TextView (or its derived classes like Button)
Extension function to bind a LiveData Boolean to the enabled state of any View.
Extension function to bind a LiveData String to the text of a TextView (or its derived classes like Button), when the String is null or empty the view will be hidden.
Extension function to bind a LiveData Boolean to the visibility of any View.
Post value only when the value has changed to avoid loops, be aware that a pending update is ignored.
Resolves the string and loads it into either an ImageView or TextView based on the given string. When the data matches an http(s) url or a resource id it will be loaded into the ImageView. When the data matches a string id can be resolved the localized string will be displayed inside the TextView otherwise the plain text will be displayed. When data is null
the view will be hidden.