java.lang.ClassCastException: in.thinktek.aayaa.viewholder.ContactsExpandableHeaderItem$ContactsExpandableHeaderViewHolder cannot be cast to in.thinktek.aayaa.viewholder.AssignTaskExpandableHeaderItem$AssignTaskExpandableHeaderViewHolder

GitHub | Shamik07 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java.lang.ClassCastException casting issue while implementing in TabLayout with ViewPagerAdapter

    GitHub | 6 months ago | Shamik07
    java.lang.ClassCastException: in.thinktek.aayaa.viewholder.ContactsExpandableHeaderItem$ContactsExpandableHeaderViewHolder cannot be cast to in.thinktek.aayaa.viewholder.AssignTaskExpandableHeaderItem$AssignTaskExpandableHeaderViewHolder

    Root Cause Analysis

    1. java.lang.ClassCastException

      in.thinktek.aayaa.viewholder.ContactsExpandableHeaderItem$ContactsExpandableHeaderViewHolder cannot be cast to in.thinktek.aayaa.viewholder.AssignTaskExpandableHeaderItem$AssignTaskExpandableHeaderViewHolder

      at in.thinktek.aayaa.viewholder.AssignTaskExpandableHeaderItem.bindViewHolder()
    2. in.thinktek.aayaa
      AssignTaskExpandableHeaderItem.bindViewHolder
      1. in.thinktek.aayaa.viewholder.AssignTaskExpandableHeaderItem.bindViewHolder(AssignTaskExpandableHeaderItem.java:28)
      1 frame
    3. eu.davidea.flexibleadapter
      FlexibleAdapter.onBindViewHolder
      1. eu.davidea.flexibleadapter.FlexibleAdapter.onBindViewHolder(FlexibleAdapter.java:1396)
      1 frame
    4. Android v7
      RecyclerView$1.run
      1. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5858)
      2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5094)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4970)
      4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)
      5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)
      6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)
      7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)
      8. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3315)
      9. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3124)
      10. android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1549)
      11. android.support.v7.widget.RecyclerView$1.run(RecyclerView.java:305)
      11 frames