java.lang.ClassCastException

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

Samebug tips0

We couldn't find tips for this exception.

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

Stack trace

  • 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(AssignTaskExpandableHeaderItem.java:28) at eu.davidea.flexibleadapter.FlexibleAdapter.onBindViewHolder(FlexibleAdapter.java:1396) at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5858) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5094) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4970) at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029) at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377) at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578) at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3315) at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3124) at android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1549) at android.support.v7.widget.RecyclerView$1.run(RecyclerView.java:305)

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

We couldn't find other users who have seen this exception.