Kotlin Coroutines for Android Masterclass
- Description
- Curriculum
- FAQ
- Reviews
This course is your complete guide into the world of Kotlin Coroutines in Android. By the end of this course, you will feel confident to use Coroutines to write reliable, maintainable and responsive applications.
The philosophy of this course is “learn by coding”, so you’re going to master Coroutines by solving a series of carefully designed, hands-on exercises. These exercises are built into a tutorial Android application to make them as similar to the “real world” as possible. Therefore, you’ll gain practical experience with Coroutines in various typical scenarios that you’ll surely encounter in your own Android apps.
All aspects of Coroutines framework are covered in this course:
-
Coroutines as concurrency framework
-
Suspending vs blocking functions
-
Coroutine scope, context and jobs hierarchy
-
Coroutines cancellation
-
Exceptions handling inside Coroutines
-
Structured Concurrency
-
Unit testing with Coroutines
-
and more…
Even though the main goal of this course is to give you practical skills, it also covers all the theory required to understand Coroutines framework at a more conceptual level. In particular, you’re going to learn what Structured Concurrency is, what benefits it provides and how Coroutines implement this advanced paradigm.
We will go beyond the functionality of Coroutines framework itself and discuss important design considerations that you need to be aware of to write code that both works right now, and will also be maintainable in the long term.
Given the ever-increasing adoption of Kotlin, it’s evident that Coroutines are the future of concurrency in Android world. Therefore, knowledge of this framework is going to become a mandatory skill for Android developers going forward. After completing this course, you’ll be able to write reliable and maintainable concurrent code in Android projects using Coroutines framework, and you’ll be able to answer even the most tricky questions about this framework at job interviews.
So, if you’re serious about Android development and you want to master Kotlin Coroutines, this course is a perfect match for you!
-
4UI Thread Blocking
-
5Concurrency
-
6Background Threads
-
7Coroutines Basics
-
8Coroutines Basics Nuances
-
9Exercise 1
-
10Exercise 1 Solution
-
11Coroutines Cancellation Basics
-
12Exercise 2
-
13Exercise 2 Solution
-
14Concurrent Coroutines
-
15Suspension vs Blocking
-
16Coroutine Scope's Children Cancellation
-
17Exercise 3
-
18Exercise 3 Solution
-
19Coroutines Intuition Summary
-
25Structured Concurrency Intro
-
26Fibonacci Computation
-
27Concurrent Fibonacci Computation
-
28Concurrent Fibonacci Computation with Callback on UI Thread
-
29Concurrent Fibonacci Computation Using ThreadPoster Library
-
30Structured Concurrency
-
31Concurrent Fibonacci Computation Using Coroutines (Callback)
-
32Concurrent Fibonacci Computation Using Coroutines (Suspending)
-
33Exercise 4
-
34Exercise 4 Solution
-
35Structured Concurrency Summary
-
53Main Coroutines Building Blocks
-
54Coroutines Mechanics Part 1: CoroutineScope and CoroutineContext
-
55Coroutines Mechanics Part 2: CoroutineContext Elements
-
56Coroutines Mechanics Part 3: withContext Function
-
57Coroutines Mechanics Part 4: Jobs Hierarchy
-
58Coroutines Mechanics Part 5: Cancellation Propagation
-
59Coroutines Mechanics Part 6: NonCancellable vs Job()
-
60Exercise 7
-
61Exercise 7 Solution
-
62Exercise 7 Solution Amendment
-
63Coroutines Mechanics Summary
-
72Exceptions Handling Intro
-
73Uncaught Exception in a Coroutine
-
74CoroutineExceptionHandler
-
75Cancellation Chain on Uncaught Exception
-
76SupervisorJob
-
77Exercise 10
-
78Exercise 10 Solution
-
79Uncaught Exception in Async Coroutine
-
80The Best Way to Handle Exceptions in Coroutines
-
81Exceptions Handling Summary