java.lang.ClassCastException: android.widget.HeaderViewListAdapter cannot be cast to me.tatarka.bindingcollectionadapter.BindingListViewAdapter

GitHub | amnsinghl | 4 months ago
  1. 0

    Unable to use binding collection adapter when header and footer is added to a list view

    GitHub | 4 months ago | amnsinghl
    java.lang.ClassCastException: android.widget.HeaderViewListAdapter cannot be cast to me.tatarka.bindingcollectionadapter.BindingListViewAdapter
  2. 0

    Multiple selection in ListView with CAB

    Stack Overflow | 3 years ago | user1810991
    java.lang.ClassCastException: android.widget.HeaderViewListAdapter cannot be cast to com.damson.android.tipspromenad.tabs.CreateFragment$SelectableAdapter
  3. 0

    How to create another adapter for listview

    Stack Overflow | 3 years ago | Benz
    java.lang.ClassCastException: android.widget.HeaderViewListAdapter cannot be cast to my.fyp.inticlassifieds.CustomAdapter
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    get ListView in BroadcastReceiver error receiving broadcast intent

    Stack Overflow | 2 years ago | user3906385
    java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10000010 pkg=com.example.one (has extras) } in com.example.one.AllProductsActivity$1@40f2ae88
  6. 0

    Crash in PostsListFragment loadPosts()

    GitHub | 3 years ago | nbradbury
    java.lang.ClassCastException: org.wordpress.android.ui.posts.PostsListFragment$PostListAdapter cannot be cast to android.widget.HeaderViewListAdapter

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at me.tatarka.bindingcollectionadapter.BindingCollectionAdapters.setAdapter()
    2. me.tatarka.bindingcollectionadapter
      BindingCollectionAdapters.setAdapter
      1. me.tatarka.bindingcollectionadapter.BindingCollectionAdapters.setAdapter(BindingCollectionAdapters.java:27)[na:0.0]
      1 frame
    3. to.go.databinding
      ContentDrawerBinding.executeBindings
      1. to.go.databinding.ContentDrawerBinding.executeBindings(ContentDrawerBinding.java:142)[na:0.0]
      1 frame
    4. android.databinding
      ViewDataBinding$7.doFrame
      1. android.databinding.ViewDataBinding.executePendingBindings(ViewDataBinding.java:355)[na:0.0]
      2. android.databinding.ViewDataBinding$6.run(ViewDataBinding.java:172)[na:0.0]
      3. android.databinding.ViewDataBinding$7.doFrame(ViewDataBinding.java:238)[na:0.0]
      3 frames
    5. Android Platform
      ActivityThread.main
      1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)[na:0.0]
      2. android.view.Choreographer.doCallbacks(Choreographer.java:670)[na:0.0]
      3. android.view.Choreographer.doFrame(Choreographer.java:603)[na:0.0]
      4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)[na:0.0]
      5. android.os.Handler.handleCallback(Handler.java:739)[na:0.0]
      6. android.os.Handler.dispatchMessage(Handler.java:95)[na:0.0]
      7. android.os.Looper.loop(Looper.java:148)[na:0.0]
      8. android.app.ActivityThread.main(ActivityThread.java:5417)[na:0.0]
      8 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)[na:0.0]
      1 frame
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)[na:0.0]
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)[na:0.0]
      2 frames