Questionnaire Item View Holder Factory Matcher
data class QuestionnaireItemViewHolderFactoryMatcher(val factory: QuestionnaireItemViewHolderFactory, val matches: (Questionnaire.QuestionnaireItemComponent) -> Boolean)
Data class that holds a matcher function (matches) which evaluates whether a given factory should be used to display a given Questionnaire.QuestionnaireItemComponent.
See the developer guide for more information.
Constructors
Link copied to clipboard
constructor(factory: QuestionnaireItemViewHolderFactory, matches: (Questionnaire.QuestionnaireItemComponent) -> Boolean)
Properties
Link copied to clipboard
The custom QuestionnaireItemViewHolderFactory to use.
Link copied to clipboard
A predicate function which, given a Questionnaire.QuestionnaireItemComponent, returns true if the factory should apply to that item.