Questionnaire Fragment
Types
Link copied to clipboard
data class QuestionnaireItemViewHolderFactoryMatcher(factory: QuestionnaireItemViewHolderFactory, matches: (<ERROR CLASS>) -> Boolean)
Content copied to clipboard
Data class that holds a matcher function (matches) which evaluates whether a given factory should be used in creating a com.google.android.fhir.datacapture.views.QuestionnaireItemViewHolder that displays the given Questionnaire.QuestionnaireItemComponent
Functions
Link copied to clipboard
open fun getCustomQuestionnaireItemViewHolderFactoryMatchers(): <ERROR CLASS>
Content copied to clipboard
Returns a list of QuestionnaireItemViewHolderFactoryMatchers that provide custom views for rendering items in the questionnaire. User-provided custom views will take precedence over canonical views provided by the library. If multiple QuestionnaireItemViewHolderFactoryMatcher are applicable for the same item, the behavior is undefined (any of them may be selected).
Link copied to clipboard
Link copied to clipboard
open fun onCreateView(inflater: <ERROR CLASS>, container: <ERROR CLASS>?, savedInstanceState: <ERROR CLASS>?): <ERROR CLASS>
Content copied to clipboard
Link copied to clipboard
open fun onViewCreated(view: <ERROR CLASS>, savedInstanceState: <ERROR CLASS>?)
Content copied to clipboard