Android introduced the most awaited feature of merging the data adapter into the list with the release of recyclerview:1.2.0-alpha02 package. MergeAdapter is a new class available which enables you to sequentially combine multiple adapters to be displayed in a single RecyclerView. This enables you to better management of your adapters rather than having to combine many … Continue reading Merge Multiple adapters with MergeAdapter
Google drives developers to produce scalable and modular code with Android Architecture components. Dagger 2 takes it much further, creating a single repository where all your classes are initialized so that every Activity, Fragment, ViewModel and Repository is free from initializing the classes they are dependent on. Dagger 2 uses Dependency Injection to create scalable, … Continue reading Dependency Injection in Android with Dagger 2
Problems that aroused, since the "Oreo released" - Whenever we developers needed to execute a long-running operation in the background, we would choose one of the following options : a) ThreadPools b) RxJava / Coroutinesc) ForegroundService d) JobSchedulere) Alarm Manager + Broadcast receivers Above options are helpful but sometimes put us in certain situations to … Continue reading Improvement Over Android’s Background Processing.