java.lang.ClassCastException: com.faendir.lightning_launcher.multitool.scriptmanager.ScriptGroupLayoutItem$ViewHolder cannot be cast to com.faendir.lightning_launcher.multitool.scriptmanager.ScriptLayoutItem$ViewHolder

GitHub | F43nd1r | 4 months ago
  1. 0

    GitHub comment 153#236332831

    GitHub | 4 months ago | F43nd1r
    java.lang.ClassCastException: com.faendir.lightning_launcher.multitool.scriptmanager.ScriptGroupLayoutItem$ViewHolder cannot be cast to com.faendir.lightning_launcher.multitool.scriptmanager.ScriptLayoutItem$ViewHolder
  2. 0

    onLayout error with WearableListView

    Stack Overflow | 8 months ago | Alejandro Castilla
    java.lang.ClassCastException: com.android.layoutlib.bridge.android.support.Adapter$ViewHolder cannot be cast to android.support.wearable.view.WearableListView$ViewHolder
  3. 0

    GitHub comment 79#219370398

    GitHub | 7 months ago | francescopedronomnys
    java.lang.ClassCastException: it.redacted.android.activities.main.adapter.items.CategoriesHeader$ViewHolder cannot be cast to it.redacted.android.activities.main.adapter.items.OtherArticlesHeader$ViewHolder
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Is it possible to add both headerAdapter and footerAdapter?

    GitHub | 2 months ago | stonecold123
    java.lang.ClassCastException: com.item.HeaderView$ViewHolder cannot be cast to com.component.recycler.PagerFooterView$ViewHolder
  6. 0

    RecyclerView with two adapter; ClassCastException

    Stack Overflow | 1 month ago | Mohamad Azrie
    java.lang.ClassCastException: com.example.azrie.dummyvoice.RecyclerView_Adapter_RecentNews$ViewHolder cannot be cast to com.example.azrie.dummyvoice.RecyclerView_Adapter_UnreadNews$ViewHolder

    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

      com.faendir.lightning_launcher.multitool.scriptmanager.ScriptGroupLayoutItem$ViewHolder cannot be cast to com.faendir.lightning_launcher.multitool.scriptmanager.ScriptLayoutItem$ViewHolder

      at com.faendir.lightning_launcher.multitool.scriptmanager.ScriptLayoutItem.bindViewHolder()
    2. com.faendir.lightning_launcher
      ScriptLayoutItem.bindViewHolder
      1. com.faendir.lightning_launcher.multitool.scriptmanager.ScriptLayoutItem.bindViewHolder(ScriptLayoutItem.java:20)
      1 frame
    3. eu.davidea.flexibleadapter
      FlexibleAdapter.onBindViewHolder
      1. eu.davidea.flexibleadapter.FlexibleAdapter.onBindViewHolder(FlexibleAdapter.java:1136)
      1 frame
    4. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5801)
      2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5037)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913)
      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:3260)
      9. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3069)
      10. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)
      10 frames
    5. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16630)
      6. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      8. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      9. android.view.View.layout(View.java:16630)
      10. android.view.ViewGroup.layout(ViewGroup.java:5437)
      10 frames
    6. android.support.design
      CoordinatorLayout.onLayout
      1. android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131)
      2. android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
      3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1319)
      4. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:817)
      4 frames
    7. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      2 frames
    8. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)
      1 frame
    9. Android Platform
      View.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16630)
      6. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      8. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      9. android.view.View.layout(View.java:16630)
      10. android.view.ViewGroup.layout(ViewGroup.java:5437)
      11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      12. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      13. android.view.View.layout(View.java:16630)
      14. android.view.ViewGroup.layout(ViewGroup.java:5437)
      15. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      16. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      17. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      18. android.view.View.layout(View.java:16630)
      18 frames