Eric NAdvanced RecyclerView Insertion and Deletion — How to Maintain PositionWhat if you need to display the correct items’ positions at all times as items are constantly added and removed from the list? I’ll show…Feb 22, 2023Feb 22, 2023
Eric NRecyclerView — How to handle insertion and deletionSince its introduction, RecyclerView has been a great tool for Android developers. While displaying a read-only data set is quite…Feb 19, 2023Feb 19, 2023
Eric NinProAndroidDevRoom Database — Lessons learnt from working with multiple tablesIn this article, I’m going to examine three methods of querying multiple tables at once, namely multi-table query, multi-map and…Jan 19, 2023Jan 19, 2023
Eric NDagger 2’s naming convention is suboptimal, let’s fix itIt’s often said there are 2 big problems in computer science and one of them is naming conventionJan 1, 2022Jan 1, 2022
Eric NThe Easiest Way to Reuse ViewModel Factory using DaggerWhile Multibinding is an alternative, it’s unnecessarily complexJan 1, 20221Jan 1, 20221
Eric NinCoffee Meets Bagel EngineeringOpinionated Short List of Android ViewModel Do’s and Don’tsAmong the dozens of Android we’ve reviewed, the following misconceptions and sub-optimal practices tend to repeat a lot. I’m hoping the…May 31, 20215May 31, 20215
Eric NLeverage Room’s auto-refresh with cautionsThe “auto-refresh” convenience Room’s RxJava (Flowable) integration gives you does come with a couple of caveatsMay 31, 2021May 31, 2021
Eric NinProAndroidDevGreatest Android modularization mistake and how to undo itOne upon a time, there was a monolith named :app module. Then came the smaller monoliths named database, networking and modelsDec 29, 20204Dec 29, 20204