google / flexbox-layout

Flexbox for Android
Apache License 2.0
18.24k stars 1.79k forks source link

java.lang.ClassCastException: androidx.recyclerview.widget.RecyclerView$LayoutParams cannot be cast to com.google.android.flexbox.FlexItem #568

Open tiandadong opened 3 years ago

caferyldz commented 1 year ago

Hi tiandadong,

Did you find solution for this error.

Tank you.

DastanIqbal commented 1 year ago

For reader, this crash comes when you use multiple recycler view, and parent recycler view configure with FlexboxLayoutManager.

ngandhi-zum commented 1 year ago

https://stackoverflow.com/questions/56759960/crash-when-dynamically-change-layoutmanager-to-flexboxlayoutmanager