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

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
主站蜘蛛池模板: 崇信县| 沅江市| 张掖市| 始兴县| 杂多县| 林周县| 扬州市| 佛冈县| 迁安市| 南召县| 徐州市| 齐河县| 克拉玛依市| 万全县| 南澳县| 肇州县| 察雅县| 武鸣县| 崇左市| 绥化市| 武隆县| 成都市| 北流市| 同江市| 晋江市| 绥芬河市| 抚州市| 阳高县| 杭锦后旗| 彰武县| 德兴市| 大渡口区| 开封县| 梧州市| 林甸县| 类乌齐县| 汝阳县| 博乐市| 钟山县| 安西县| 攀枝花市|