This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
TreeSection.getChild(0) crashes! This actually return an item section. #119
Labels
new
Describes the issue is reported recently and not reviewed by the maintainers
java.lang.ClassCastException: mva3.adapter.ItemSection cannot be cast to mva3.adapter.TreeSection
at mva3.adapter.TreeSection.getChild(TreeSection.java:76)
at dev.ahamed.mva.sample.view.nested.NestedSectionFragment$1.onDelete(NestedSectionFragment.java:37)
at dev.ahamed.mva.sample.view.nested.CommentBinder.lambda$initViewHolder$0(CommentBinder.java:28)
at dev.ahamed.mva.sample.view.nested.-$$Lambda$CommentBinder$BL6S8bj_RCaBZ4fWZK0Huo3p0eI.onClick(Unknown Source:4)
at android.view.View.performClick(View.java:6320)
at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:932)
at android.view.View$PerformClick.run(View.java:24980)
at android.os.Handler.handleCallback(Handler.java:794)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6662)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Please complete the following information:
The text was updated successfully, but these errors were encountered: