I'm implementing an image selection screen that looks like the below image
I want to use recyclerview to implement this but don't know how to do it.
Help me to figure out it. Thanks in advance!!
[Edit]: number of items is not fixed.
Actually, I got a library named SpannedGridLayoutManager that fulfills my requirement.