DEV Community

Discussion on: Scrolling... Scrolling... RecyclerView for Android with Kotlin!

Collapse
 
neokleoys2005 profile image
Giorgos Neokleous

Nice one!

RecyclerView is one of the most important widgets in android development (imo of course!)

One small micro-optimisation, you should fetch the Email object once and not for each field you are populating a widget. Imagine having 44442 emails, it could be fairly expensive. Also the bind method is called quite a lot of times especially if the user is scrolling a lot.

Collapse
 
nickitax profile image
Nick Shulhin • Edited

Thanks a lot for your feedback, Giorgos!!!

I really appreciate it, since do Android exclusively as a hobby which enjoy so much.

I’ll add your fix to the article 👍