Re:Android platform engineer on application architecture
by HillaryBriss on Monday May 16, 2016 @03:04PM
(#11708741)
Probably because the RecyclerView is so frikkin' complicated, as Chet Haase and Yigit Boyar explain here:
https://youtu.be/imsr8NrIAMs
After watching this for five or ten minutes, I gave up. It didn't seem like it offered a good return on time invested.
It works well for basic lists, but out of the box it comes with very little — not even a click listener for items in the view.
Having written a custom LayoutManager for RecyclerView a year ago (and then a matching ItemDecorator), it was probably the most difficult (and frustrating) thing I've had to do in Android development.
At the time there were certainly zero code samples that correctly implemented a layout manager that worked in all cases. Indeed, I gave up on supporting various parts of the API. I don't imagine that has since changed.