use of org.eyeseetea.malariacare.views.question.INavigationQuestionView in project pictureapp by EyeSeeTea.
the class DynamicTabAdapter method setupNavigationByQuestionView.
private void setupNavigationByQuestionView(View rootView, IQuestionView questionView) {
if (questionView instanceof INavigationQuestionView) {
INavigationQuestionView navigationQuestionView = (INavigationQuestionView) questionView;
CustomTextView textNextButton = (CustomTextView) rootView.findViewById(R.id.next_txt);
textNextButton.setText(navigationQuestionView.nextText());
textNextButton.setTextSize(navigationQuestionView.nextTextSize());
}
}
Aggregations