abstract class SchibstedView : LinearLayout, ErrorField
SchibstedView(context: Context?) SchibstedView(context: Context?, attrs: AttributeSet?) |
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 |
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 |
abstract fun hideErrorView(): Unit
Hides the error message previously displayed |
|
abstract fun showErrorView(): Unit
Displays an error message related to the input field |
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 |
|
abstract class FieldView : SchibstedView, InputField |