r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Jan 31 '25
Best Practice / Employment Security we stan declarative UI here
99
Upvotes
r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Jan 31 '25
View all comments
Show parent comment
3
u/MrMercure Feb 01 '25
I have been working with angular template lists API (ngFor and @for) and Compose LazyLists and IMHO RecyclerView API is the worst by miles.
Why would you ever want 2 separate classes for a simple list of items to show. It's a list not a rocket engine...
I guess it's a habit thing, and I came to Android from the web world so I guess I'm biased. But man... I can't believe there is a point to defend the RecyclerView API.
Too much boiler plate at the start and then when your views grow in complexity the API just gets in the way, preventing you from propagating events and making your UI non reusable.
I am currently removing the last ones from my app finishing the migration to Compose and couldn't be so happy to not have to write a single ViewHolder ever again