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

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
主站蜘蛛池模板: 化德县| 杨浦区| 平泉县| 陕西省| 资阳市| 无极县| 随州市| 栾川县| 搜索| 湟中县| 兰西县| 尚义县| 普宁市| 广丰县| 阿鲁科尔沁旗| 千阳县| 丰镇市| 镇安县| 雷州市| 吉木乃县| 曲水县| 武邑县| 天门市| 马关县| 阿克陶县| 克什克腾旗| 通化市| 恭城| 马鞍山市| 宕昌县| 诸城市| 莒南县| 油尖旺区| 临西县| 泽普县| 九龙坡区| 齐河县| 措美县| 偃师市| 思茅市| 广灵县|