I want to achieve something like this:

But here's what I get after trying:

I already set the height of the layout of the items to WRAP_CONTENT but the result is still the same.
What should I do?
For those who are looking for an answer, just use a StaggeredGridLayoutManager as the RecyclerView's layout manager like this:
recycler.setLayoutManager(new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With