Coroutines in Action

It's time to start coding. In this chapter, we will go through the process of enabling support for coroutines in an Android project using Android Studio, and we will use coroutines to solve a common scenario for mobile apps: calling a REST service and displaying some of the response without blocking the UI thread. 

Topics that will be covered in this chapter include:

  • Android Studio configuration for Kotlin and projects using coroutines
  • Android's UI thread
  • REST calls in a background thread using coroutines
  • Coroutine builders async() and launch()
  • Introduction to coroutine dispatchers
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.34.25