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

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
主站蜘蛛池模板: 桓仁| 昭苏县| 确山县| 仪陇县| 甘谷县| 高邮市| 温宿县| 鹤壁市| 普宁市| 永寿县| 南郑县| 龙胜| 芒康县| 阿瓦提县| 江阴市| 太谷县| 尉氏县| 会东县| 济源市| 石景山区| 师宗县| 青冈县| 崇信县| 沭阳县| 瓮安县| 新疆| 吴江市| 都匀市| 伽师县| 日照市| 西和县| 新干县| 十堰市| 新余市| 桃源县| 仙居县| 聂荣县| 汕头市| 土默特左旗| 钦州市| 都江堰市|