Google recommends Kotlin Coroutines as the preferred solution for asynchronous programming on Android. Sooner or later, probably every Android developer will get in touch with them. This course will provide you with a deep understanding of Kotlin Coroutines and shows how to implement 12+ of the most common use cases for Android applications.
At first, we will take a detailed look at the advantages of Kotlin Coroutines over other approaches for asynchronous programming, like RxJava and Callbacks.
Then, we will talk about some theoretical fundamentals. These include:
Routines vs. Coroutines
Coroutines vs. Threads
Blocking vs. Suspending
Next, we will implement some of the most common use cases for Kotlin Coroutines in Android applications. These include:
Performing network requests with Retrofit sequentially and concurrently
Implementing Timeouts and Retries
Using Room with Coroutines
Performing background processing with Coroutines
Continuing Coroutine execution even when the user leaves the screen.
To improve your learning experience, this course also challenges you with several exercises.
Learning Coroutines can be overwhelming because you need to learn a lot of new concepts. However, we are going to start simple and as our use cases will get more and more complex, we will learn about new concepts step–by–step. These new concepts are:
Specification: Mastering Kotlin Coroutines for Android Development
2 reviews for Mastering Kotlin Coroutines for Android Development