java.lang.ClassCastException

android.widget.HeaderViewListAdapter cannot be cast to me.tatarka.bindingcollectionadapter.BindingListViewAdapter

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19010

  • android.widget.HeaderViewListAdapter cannot be cast to me.tatarka.bindingcollectionadapter.BindingListViewAdapter
  • org.kiwix.kiwixmobile.ZimFileSelectFragment$RescanDataAdapter cannot be cast to android.widget.HeaderViewListAdapter
  • via Stack Overflow by Dennis
    , 1 year ago
    android.widget.HeaderViewListAdapter cannot be cast to com.hb.views.PinnedSectionListView$PinnedSectionListAdapter
  • Stack trace

    • java.lang.ClassCastException: android.widget.HeaderViewListAdapter cannot be cast to me.tatarka.bindingcollectionadapter.BindingListViewAdapter at me.tatarka.bindingcollectionadapter.BindingCollectionAdapters.setAdapter(BindingCollectionAdapters.java:27)[na:0.0] at to.go.databinding.ContentDrawerBinding.executeBindings(ContentDrawerBinding.java:142)[na:0.0] at android.databinding.ViewDataBinding.executePendingBindings(ViewDataBinding.java:355)[na:0.0] at android.databinding.ViewDataBinding$6.run(ViewDataBinding.java:172)[na:0.0] at android.databinding.ViewDataBinding$7.doFrame(ViewDataBinding.java:238)[na:0.0] at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)[na:0.0] at android.view.Choreographer.doCallbacks(Choreographer.java:670)[na:0.0] at android.view.Choreographer.doFrame(Choreographer.java:603)[na:0.0] at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)[na:0.0] at android.os.Handler.handleCallback(Handler.java:739)[na:0.0] at android.os.Handler.dispatchMessage(Handler.java:95)[na:0.0] at android.os.Looper.loop(Looper.java:148)[na:0.0] at android.app.ActivityThread.main(ActivityThread.java:5417)[na:0.0] at java.lang.reflect.Method.invoke(Native Method)[na:0.0] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)[na:0.0] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)[na:0.0]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.