Canceling Nested Kotlin Coroutines With CoroutineScope
| | | | |

Canceling Nested Kotlin Coroutines With CoroutineScope

Coroutines are one of the ­čśŹ nicest language features in Kotlin. They provide a rather headache-free way to use the power of concurrency in your Kotlin program. I was very excited when I started playing around with them but eventually┬ácame across a problem: what if you have nested coroutines (like a parent-child coroutine). For instance,…

Improving App Network Architecture With Retrofit And Kotlin Coroutine Call Adapter
| | | | | | |

Improving App Network Architecture With Retrofit And Kotlin Coroutine Call Adapter

Almost in every Android mobile application, we have to deal with network calls and most of the time we end up using Retrofit. No doubt Retrofit is our favorite library when it comes to networking. Kotlin and now coroutine has made Networking on Android even easier than before. I’ve recently listened to this talk by…

Building A Location Distance Tracking App | Android
| | | |

Building A Location Distance Tracking App | Android

Every time when I see Uber, Careem or any other transport application, I always try to figure out how those developers must’ve developed those apps. There are so much great features in these apps. One of that feature was to calculate the distance when the driver starts the ride. In this article, I will try…

Android Room Persistence With LiveData
| | | | | |

Android Room Persistence With LiveData

Previously in our Room persistence article, we’ve discussed what are the basics of Room and how to simply work with it. Also, we’ve made a book library app using the Room persistence basic components. (If you haven’t read the previous article, I highly recommend you read it before proceeding it.) In this article, we’re gonna…

Android LiveData With Example
| | | | |

Android LiveData With Example

Today I wanna tell you about a few solutions that have been developed. Solutions for problems that I think all of us as a developer have been trying to solve again and again in every project. So, let’s say that I want to perform actions in response to changes in lifecycle status of Android Component….

ViewModel – Android Architecture Component
| | | | |

ViewModel – Android Architecture Component

Couple of years ago, when I’m studying at my University. We have given┬áthe assignment to make a color changer app. The app is very basic where we have only one button and when a user clicks the button it changes its background color. So like I said, the app is very basic and I’ve made…