ui / com.schibsted.account.ui.ui / ErrorField

ErrorField

interface ErrorField

Properties

isErrorVisible

abstract var isErrorVisible: Boolean

Checks if an error view is currently displayed

Functions

hideErrorView

abstract fun hideErrorView(): Unit

Hides the error message previously displayed

setError

abstract fun setError(message: Int): Unit
abstract fun setError(message: String): Unit

showErrorView

abstract fun showErrorView(): Unit

Displays an error message related to the input field

Inheritors

InputField

interface InputField : ErrorField

Describes an input field which is entitled to prevent access to its content if it is considered invalid. Implementations should verify their input before potentially providing it.

SchibstedView

abstract class SchibstedView : LinearLayout, ErrorField