Skip to content
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

Open
aungkhanthtoo opened this issue Jul 17, 2020 · 0 comments
Labels
new Describes the issue is reported recently and not reviewed by the maintainers

Comments

@aungkhanthtoo
Copy link

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:

  • Android API level: [e.g. 26]
  • Library Version: [e.g. 3.0.0]
  • Recyclerview Version [e.g. 1.0.0]
@aungkhanthtoo aungkhanthtoo added the new Describes the issue is reported recently and not reviewed by the maintainers label Jul 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new Describes the issue is reported recently and not reviewed by the maintainers
Projects
None yet
Development

No branches or pull requests

1 participant