use of com.instructure.candroid.interfaces.QuizPostMultiChoice in project instructure-android by instructure.
the class QuizSubmissionQuestionListRecyclerAdapter method addMultipleChoiceQuestion.
private void addMultipleChoiceQuestion(QuizSubmissionQuestion baseItem, QuizMultiChoiceViewHolder holder, int position, int courseColor) {
addAnsweredQuestion(baseItem);
QuizMultiChoiceBinder.bind(holder, baseItem, courseColor, position, shouldLetAnswer, getContext(), embeddedWebViewCallback, webViewClientCallback, new QuizPostMultiChoice() {
@Override
public void postAnswer(final long questionId, long answerId) {
addAnsweredQuestion(questionId);
QuizManager.postQuizQuestionMultiChoice(quizSubmission, answerId, questionId, true, new StatusCallback<QuizSubmissionQuestionResponse>() {
});
}
}, flagStateCallback);
}
Aggregations