Skip to content

Commit

Permalink
add log in setsubmitanswer
Browse files Browse the repository at this point in the history
  • Loading branch information
subhajitxyz committed Jan 11, 2025
1 parent 6123823 commit 0a6b997
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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()
Expand Down

0 comments on commit 0a6b997

Please sign in to comment.