#Coroutines are much lighter than #Threads; But why? 🤔
What happens behind the scenes when we launch thousands of Coroutines It is okay but when does with Threads program become laggy or crash? Let's see why. 🌟
#Coroutines #threads #kotlin #java #loom #android #AndroidDev
#Kotlin Structured concurrency helps cancel #coroutines, not only individually but also centralised using root coroutine. By @goodandroidev
RT @droidcon
Expand your horizons with new #Android skills 📓
Instructor @StefanCatalin will explain how to build an #MVVM app from scratch using #JetpackCompose, #Kotlin #Coroutines, Flows, #Roomdatabase, #Retrofit, & HILT DI using MAD skills.
Shop the course: https://academy.droidcon.com/course/building-a-complete-mvvm-app-from-scratch-with-android-jetpack-compose
#android #mvvm #JetpackCompose #kotlin #Coroutines #roomdatabase #retrofit
Expand your horizons with new #Android skills 📓
Instructor @StefanCatalin will explain how to build an #MVVM app from scratch using #JetpackCompose, #Kotlin #Coroutines, Flows, #Roomdatabase, #Retrofit, & HILT DI using MAD skills.
Shop the course: https://academy.droidcon.com/course/building-a-complete-mvvm-app-from-scratch-with-android-jetpack-compose
#android #mvvm #JetpackCompose #kotlin #Coroutines #roomdatabase #retrofit
Huge thanks to #Geekle.us for the opportunity to speak about #kotlin, #springboot and #Coroutines in this amazing event.
#geekle #kotlin #Springboot #Coroutines #kotlincoroutine #developer #google
Hey friends 🥷!
☕ I’m going to be speaking at the @ ONLINE SUMMIT FOR JAVA DEVS’23.
The conference will be covering the Java (and Kotlin 🤗) ecosystem today and tomorrow.
☕️ Over 25 sessions about Spring, Kotlin, Kubernetes, Openshift, Project Loom, OpenTelemetry and more.
In my talk, I am going to share bout async services with #Kotlin #Coroutines and Spring Boot.
🎟️ events.geekle.us/java23/
#kotlin #Coroutines #kotlindeveloper #Springboot #jvm
What is the purpose of the withContext function in Kotlin Coroutines?
- The withContext function is used to change the context of a coroutine, for example, to switch from a background thread to the main thread. It allows you to execute code in a different thread while still preserving the current context, such as the current scope and job.
#AndroidDev #androiddevs #android #kotlin #Coroutines
What is the difference between CoroutineScope and GlobalScope in Kotlin Coroutines?
- CoroutineScope is used to define the scope for a group of related coroutines, and provides a way to cancel all the coroutines when the scope is no longer needed. GlobalScope is a predefined scope that is used for coroutines that have no specific scope, and continue to run even after the completion of the main function.
#AndroidDev #androiddevs #android #kotlin #Coroutines
What is the difference between suspend and resume in Kotlin Coroutines?
- suspend is used to pause the execution of a coroutine and return control to the caller, while resume is used to resume the execution of a suspended coroutine. Together, these two methods allow coroutines to perform tasks asynchronously, without blocking the calling thread.
#AndroidDev #androiddevs #android #kotlin #Coroutines
RT @vergauwen_simon@twitter.com
I’m giving a Deep Dive course into #Kotlin #Coroutines tomorrow, which I hope to transform into a fully fledged zero-to-hero coroutines course soon. https://twitter.com/47deg/status/1600455084671918080
🐦🔗: https://twitter.com/vergauwen_simon/status/1600455688819392512
Watch talks from all our past #AndroidDev events 🎥 This week, we've got Lamberto Basti's talk from droidconLondon on how #Flow operators are made & how we can implement behaviours with a handful of lines by the power of #coroutines.
Full talk here: https://www.droidcon.com/2022/11/15/go-with-the-flow/
Watch talks from all our past #AndroidDev events 🎥 This week, we've got Lamberto Basti's talk from droidconLondon on how #Flow operators are made & how we can implement behaviours with a handful of lines by the power of #coroutines.
Full talk here: https://www.droidcon.com/2022/11/15/go-with-the-flow/
runBlocking{} のスコープからlaunchするときにDispatchersを省略するとすぐに開始しない。知らんかった… #Kotlin #Coroutines