Рет қаралды 4,739
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutin...
In this video, I am going to show you 5 of the most common mistakes when using Kotlin Coroutines, so that you don’t make them in your applications.
👨🎓 Learn Coroutines and Flow with my Github Example Repository: github.com/LukasLechnerDev/Ko...
TimeStamps:
00:00 - Intro
00:36 - Mistake 1 - Unnecessary Dispatcher Switches
03:36 - Mistake 2 - Not supporting Cancellation
07:59 - Mistake 3 - Using try/catch for exceptions within Coroutines
10:54 - Mistake 4 - Install Coroutine Exception Handler in Child Coroutine
11:36 - Mistake 5 - Accidentally catching CancellationExceptions
15:29 - Full Course "Mastering Kotlin Coroutines for Android Development"
➤ Subscribe to the channel: / @lukaslechner
🌎 Check out my website: www.lukaslechner.com
📬 Subscribe to my newsletter: www.lukaslechner.com/newsletter/
➤ Follow me on twitter: / lukaslechnerdev