Dec 7, 20232 min read🌟 Do you know why CancellationException is special in coroutines?This is the answer to the challenge I posted 2 days ago 📅. Link to the challenge is here. The code is here. As I mentioned in the...
Dec 5, 20231 min read🧩 Kotlin Coroutines Challenge No. 3: Put Your Knowledge to the Test! 🧩Exception handling is clearly one of the most confusing topics in coroutines. Well, at least they were for me. Having spent much time on...
Dec 1, 20232 min read💡🔄 Do you know how coroutineScope works in coroutines? As promised, this is the answer to the challenge that I posted 2 days ago 🧩 Here is the challenge: Before I explain the answer - go...
Nov 30, 20231 min readAre you using coroutines inside your Composables? Make sure to use rememberCoroutineScope!Are you using coroutines inside your Composables? Are you making sure that you use rememberCoroutineScope? rememberCoroutineScope() is...
Nov 30, 20232 min readDo you know what “coroutines are cooperative” means? 🤔As promised, this is the answer to the challenge I posted 4 days ago 🧩 (sorry I was a bit late this time). Congratulations 🎉 to...
Nov 29, 20231 min readDo you know how scopes work in coroutines? 🤔I've personally been confused by this topic for quite a while. But it's essential to understand how to correctly manage the execution of...