HeaderView

class HeaderView(context: Context, attrs: AttributeSet?) : LinearLayout

View for the prefix, question, and hint of a questionnaire item.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet?)

Functions

Link copied to clipboard
fun bind(questionnaireViewItem: QuestionnaireViewItem, displayValidationResult: Boolean = false, showRequiredOrOptionalText: Boolean = false)
Link copied to clipboard

Shows an error in the header,and widgets could either use this or use another view (i.e. TextInputLayout's error field) to display error.