Chathuranga Shan
I am a mobile application developer who loves to get into new technologies in the Industry. Specialized in Android mobile application development with 5+ years’ experience working for different types of products across many business domains.
GitHub profile →
Background Task ·
Guide to background Task handling – Part 5 (AlarmManger)
If you have been following this series you may have noticed already we haven’t found any Andoird component that can handle a background task to execute at the exact given …

Background Task ·
Guide to background Task handling – Part 4 (WorkManager)
WorkManager is an Android component for handling background tasks that need to schedule and survive app restarts and system reboots. WorkManager also can be used for …

Background Task ·
Guide to background Task handling – Part 3 (Coroutines)
In this article, we will explore the concept of coroutines as a means of handling background tasks in our applications. Coroutines are the go-to solution when it comes to …

Background Task ·
Guide to background Task handling – Part 2 (Services)
In this article, we are going to look at Android services. Service is best used when there is a task that needs to be executed in the background without user interaction. …

Background Task ·
Guide to background Task handling – Part 1 (Threads, Runnable and Handler)
In Android development, being able to handle tasks in the appropriate thread is an essential skill to have. In this series, I’m planning to cover all the available …

Library ·
Switching to Hilt from Dagger
I had been using Dagger for all my projects as the dependency injection solution. It was the go-to library for managing dependencies in your application when developing …

Architecture ·
Android MVVM architecture with clean error handling – Part 2
I wrote an article a few months back explaining my approach to error handling in MVVM architecture. since that, I had a chance to apply this approach to a few projects I …

Library ·
Using Paging 3 library to consume large data set over the network
Jetpack paging library introduces a hassle-free way to implement pagination for a large set of data. Paging 3 is the latest iteration of the library and a few months ago …

Architecture ·
Android MVVM architecture with clean error handling – Part 1
MVVM architecture is a popular architecture among android developers due to it being more suitable for most of the project sizes which provide more flexibility to scale …

Navigation ·
Coordinator Layout Like Animation on Fragment Using Motion Layout to have Seamless Transition when using Using Navigation Component
Navigation component Introduction made using single activity UI pattern easy. Although it introduces a stranded way to follow a single activity UI design pattern it comes …

Navigation ·
How to Communicate Between Fragments and Activity When Using Navigation Component
The android team introduced Navigation Component 2 years ago to encourage developers to use the single activity UI pattern. With the introduction of the navigation graph …