Gabor Varadi
Dec 14, 2021

--

This is actually bad for performance, the correct solution is to use `ConcatAdapter.Config(isolateViewTypes = true)` and then provide the correct span size lookup to the GridLayoutManager using span size lookup. That way a GridLayoutManager can be used for the 1-full-size and the multi-N-sized items

--

--

Gabor Varadi
Gabor Varadi

Written by Gabor Varadi

Android dev. Zhuinden, or EpicPandaForce @ SO. Extension function fan #Kotlin, dislikes multiple Activities/Fragment backstack.

Responses (1)