VIEW_TYPE_COMPACT, VIEW_TYPE_DEFAULT
Constructor and Description |
---|
DateQuestionBody(Step step,
StepResult result) |
Modifier and Type | Method and Description |
---|---|
BodyAnswer |
getBodyAnswerState() |
android.view.View |
getBodyView(int viewType,
android.view.LayoutInflater inflater,
android.view.ViewGroup parent) |
StepResult |
getStepResult(boolean skipped) |
public DateQuestionBody(Step step, StepResult result)
public android.view.View getBodyView(int viewType, android.view.LayoutInflater inflater, android.view.ViewGroup parent)
getBodyView
in interface StepBody
public StepResult getStepResult(boolean skipped)
getStepResult
in interface StepBody
public BodyAnswer getBodyAnswerState()
getBodyAnswerState
in interface StepBody
BodyAnswer.VALID
if result date is between min and max (inclusive) date set
within the Step.AnswerFormat