public class ConsentSharingStep extends QuestionStep
Constructor and Description |
---|
ConsentSharingStep(java.lang.String identifier) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getStepBodyClass()
Returns a subclass of
StepBody responsible
for creating the ui for answering the question, base on the AnswerFormat. |
getAnswerFormat, getPlaceholder, getStepLayoutClass, setAnswerFormat, setPlaceholder
getIdentifier, getStepTitle, getText, getTitle, isOptional, setOptional, setStepLayoutClass, setStepTitle, setText, setTitle
public java.lang.Class getStepBodyClass()
QuestionStep
StepBody
responsible
for creating the ui for answering the question, base on the AnswerFormat.
This class is used by SurveyStepLayout
to create the part of the layout where the
user answers the question. For example, a StepBody for a simple text question would be
responsible for creating an EditText for the SurveyStepLayout to place inside of its layout.
Override this method with your own StepBody implementation if you create a custom QuestionStep.
getStepBodyClass
in class QuestionStep