官术网_书友最值得收藏!

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
主站蜘蛛池模板: 扬州市| 区。| 家居| 平凉市| 宿松县| 通辽市| 南陵县| 韶山市| 乌苏市| 会昌县| 天镇县| 上思县| 清新县| 兴国县| 台东市| 理塘县| 宜城市| 扶绥县| 长顺县| 观塘区| 内丘县| 鄂尔多斯市| 上高县| 济宁市| 永定县| 永福县| 湛江市| 北宁市| 乐平市| 宁蒗| 北流市| 肃宁县| 中超| 迁安市| 吉木乃县| 大丰市| 凯里市| 台山市| 手机| 新竹市| 富顺县|