I have a RecyclerView with a GridLayoutManger. I want to use dynamic span count depend on item width.
RecyclerView
GridLayoutManger
I don't want fixed item width.
You can use FlexboxLayoutManager from google:
https://github.com/google/flexbox-layout