java.lang.ClassCastException: com.radiofrance.radio.franceinter.android.view.holder.StepDepth2ViewHolder cannot be cast to com.bignerdranch.expandablerecyclerview.ParentViewHolder

GitHub | DenisMondon | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 108#241674845

    GitHub | 6 months ago | DenisMondon
    java.lang.ClassCastException: com.radiofrance.radio.franceinter.android.view.holder.StepDepth2ViewHolder cannot be cast to com.bignerdranch.expandablerecyclerview.ParentViewHolder

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.radiofrance.radio.franceinter.android.view.holder.StepDepth2ViewHolder cannot be cast to com.bignerdranch.expandablerecyclerview.ParentViewHolder

      at com.bignerdranch.expandablerecyclerview.ExpandableRecyclerAdapter.onBindViewHolder()
    2. com.bignerdranch.expandablerecyclerview
      ExpandableRecyclerAdapter.onBindViewHolder
      1. com.bignerdranch.expandablerecyclerview.ExpandableRecyclerAdapter.onBindViewHolder(ExpandableRecyclerAdapter.java:138)
      1 frame
    3. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5768)
      2. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5801)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5037)
      4. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913)
      5. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)
      6. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)
      7. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)
      8. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)
      9. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3260)
      10. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3069)
      11. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)
      11 frames