Coroutines are officially part of the Kotlin standard library starting with version 1.3 and they are very helpful in creating concurrent non-blocking code. They simplify async programming. Coroutines are actually lightweight threads.
In my previous article we discovered details about how Kotlin was designed, what is the philosophy behind this new programming language and how its popularity has grown over the past years.
In this article we’re going to continue with some basic concepts from Kotlin Wonderland like the available types, control flow instructions, equality checks and null safety.
“WorkManager is a library for managing deferrable and guaranteed background work.”
Until now, in order to perform background work in Android, developers had to choose between multiple execution options. At Google I/O 2018, the Android team launched WorkManager as part of the Android Jetpack.
This library provides a simple and clean interface to specify deferrable, asynchronous tasks and when they should run. This blog post is the first in a new series on WorkManager. The series will include an overview about the Android memory model, existing background solutions, what’s happening behind the scenes and why and when we should use WorkManager.
Whether you’re new to programming or an experienced developer, I prepared a range of resources to teach you Android app development, from your first app to advanced topics.