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.
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.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 👍