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…6 min read·Feb 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…4 min read·Feb 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…·6 min read·Jan 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 convention3 min read·Jan 1, 2022----
Eric NThe Easiest Way to Reuse ViewModel Factory using DaggerWhile Multibinding is an alternative, it’s unnecessarily complex2 min read·Jan 1, 2022--1--1
Eric NinCoffee Meets Bagel Engineering(probably opinionated) 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…·4 min read·May 31, 2021--4--4
Eric NLeverage Room’s auto-refresh with cautionsThe “auto-refresh” convenience Room’s RxJava (Flowable) integration gives you does come with a couple of caveats·2 min read·May 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 models·5 min read·Dec 29, 2020--4--4