Hack that RecyclerView!
Shivam Satija

This is wrong, wrong, wrong. There is a component whose SOLE responsibility is deciding how the items in recyclerview are laid out: RecyclerView.LayoutManager. Just create a custom one or simply subclass LinearLayoutManager, it’s easier and cleaner, and this situation is exactly the reason why it exists.

Show your support

Clapping shows how much you appreciated Joshua Pierce’s story.