Questionnaire Item View Holder Delegate
Delegate for QuestionnaireItemViewHolder.
This interface provides an abstraction of the operations that need to be implemented for a type of view in the questionnaire.
There is a 1:1 relationship between this and QuestionnaireItemViewHolder. In other words, there is a unique QuestionnaireItemViewHolderDelegate for each QuestionnaireItemViewHolder. This is critical for the correctness of the recycler view.
Functions
Link copied to clipboard
Binds a QuestionnaireItemViewItem to the view.
Link copied to clipboard
Displays validation messages on the view.
Link copied to clipboard
Initializes the view in QuestionnaireItemViewHolder. Any listeners to record user input should be set in this function.
Link copied to clipboard
Sets view read only if isReadOnly is true.