You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.oppia.android, PID: 28818
java.lang.IllegalStateException: Trying to bind incompatible data to adapter. Data class type: class org.oppia.android.app.model.ChapterSummary, expected adapter class type: class org.oppia.android.app.topic.lessons.ChapterSummaryViewModel.
at org.oppia.android.app.recyclerview.BindableAdapter.setDataUnchecked(BindableAdapter.kt:62)
at org.oppia.android.app.recyclerview.RecyclerViewBindingAdapter.bindToRecyclerViewAdapter(RecyclerViewBindingAdapter.java:68)
at org.oppia.android.app.recyclerview.RecyclerViewBindingAdapter.bindToRecyclerViewAdapterWithoutLiveData(RecyclerViewBindingAdapter.java:38)
at org.oppia.android.databinding.TopicLessonsStorySummaryBindingLandImpl.executeBindings(TopicLessonsStorySummaryBindingLandImpl.java:257)
at androidx.databinding.ViewDataBinding.executeBindingsInternal(ViewDataBinding.java:473)
at androidx.databinding.ViewDataBinding.executePendingBindings(ViewDataBinding.java:445)
at androidx.databinding.ViewDataBinding$7.run(ViewDataBinding.java:197)
at androidx.databinding.ViewDataBinding$8.doFrame(ViewDataBinding.java:291)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1029)
at android.view.Choreographer.doCallbacks(Choreographer.java:854)
at android.view.Choreographer.doFrame(Choreographer.java:785)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1016)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7592)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
The text was updated successfully, but these errors were encountered:
Describe the bug
Lessons tab crash when switched to landscape.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should not crash on landscape mode
Screenshots
If applicable, add screenshots or videos to help explain your problem.
Device
Additional context
This crash is introduced in the PR #2104
error on crash
The text was updated successfully, but these errors were encountered: