use of com.instructure.candroid.interfaces.QuizPostEssay in project instructure-android by instructure.
the class QuizSubmissionQuestionListRecyclerAdapter method addEssayQuestion.
private void addEssayQuestion(QuizSubmissionQuestion baseItem, QuizEssayViewHolder holder, int position, int courseColor) {
addAnsweredQuestion(baseItem);
QuizEssayBinder.bind(holder, baseItem, courseColor, position, shouldLetAnswer, getContext(), flagStateCallback, embeddedWebViewCallback, webViewClientCallback, new QuizPostEssay() {
@Override
public void postEssay(long questionId, String answer) {
addAnsweredQuestion(questionId);
QuizManager.postQuizQuestionEssay(quizSubmission, answer, questionId, true, new StatusCallback<QuizSubmissionQuestionResponse>() {
});
}
});
}
Aggregations