QuestionnaireFragment

open class QuestionnaireFragment

Types

Link copied to clipboard
object Companion
data class QuestionnaireItemViewHolderFactoryMatcher(factory: QuestionnaireItemViewHolderFactory, matches: (<ERROR CLASS>) -> Boolean)

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

open fun getCustomQuestionnaireItemViewHolderFactoryMatchers(): <ERROR CLASS>

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
fun getQuestionnaireResponse(): <ERROR CLASS>
Link copied to clipboard
open fun onCreateView(inflater: <ERROR CLASS>, container: <ERROR CLASS>?, savedInstanceState: <ERROR CLASS>?): <ERROR CLASS>
Link copied to clipboard
open fun onViewCreated(view: <ERROR CLASS>, savedInstanceState: <ERROR CLASS>?)