From 0a6b997d3be6eca0d93a4c7da3bbdf72dd4a9ce7 Mon Sep 17 00:00:00 2001 From: Subhajit Mallick <153619690+subhajitxyz@users.noreply.github.com> Date: Sat, 11 Jan 2025 11:05:58 +0530 Subject: [PATCH] add log in setsubmitanswer --- .../app/player/state/itemviewmodel/SubmittedAnswerViewModel.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/org/oppia/android/app/player/state/itemviewmodel/SubmittedAnswerViewModel.kt b/app/src/main/java/org/oppia/android/app/player/state/itemviewmodel/SubmittedAnswerViewModel.kt index 7439b7cbc75..6144af63046 100644 --- a/app/src/main/java/org/oppia/android/app/player/state/itemviewmodel/SubmittedAnswerViewModel.kt +++ b/app/src/main/java/org/oppia/android/app/player/state/itemviewmodel/SubmittedAnswerViewModel.kt @@ -1,5 +1,6 @@ package org.oppia.android.app.player.state.itemviewmodel +import android.util.Log import androidx.databinding.ObservableField import org.oppia.android.R import org.oppia.android.app.model.UserAnswer @@ -26,6 +27,8 @@ class SubmittedAnswerViewModel( private var accessibleAnswer: String? = DEFAULT_ACCESSIBLE_ANSWER fun setSubmittedAnswer(submittedAnswer: CharSequence, accessibleAnswer: String?) { + Log.d("testhint","in setSubmittedAnswer") + Log.d("testhint",submittedAnswer.toString()) this.submittedAnswer.set(submittedAnswer) this.accessibleAnswer = accessibleAnswer updateSubmittedAnswerContentDescription()