class CheckBoxView : SchibstedView
Defines a custom checkbox error resources and attach a text to this checkbox If you have a android.text.style.ClickableSpan inside your text you should use this class rather than CheckBox in order to avoid to give a focus to the android.text.style.ClickableSpan when clicking on the CheckBox
CheckBoxView(context: Context, attrs: AttributeSet? = null)
Defines a custom checkbox error resources and attach a text to this checkbox If you have a android.text.style.ClickableSpan inside your text you should use this class rather than CheckBox in order to avoid to give a focus to the android.text.style.ClickableSpan when clicking on the CheckBox |
var isChecked: Boolean |
var errorView: TextView?
The error view used to display the error message |
|
open var isErrorVisible: Boolean
Checks if an error view is currently displayed |
|
lateinit var labelView: TextView
View used to display the label attached to the view |
fun hideErrorView(): Unit
Sets .errorView visibility to |
|
fun showErrorView(): Unit
Sets .errorView visibility to |
open fun setError(message: Int): Unit open fun setError(message: String): Unit |
|
fun setTitle(label: Int): Unit fun setTitle(title: String): Unit |
|
fun setTitleVisible(labelVisible: Boolean): Unit |