- Learning Concurrency in Kotlin
- Miguel Angel Castiblanco Torres
- 96字
- 2021-08-05 10:46:46
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
推薦閱讀
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- PHP程序設計(慕課版)
- 編寫高質量代碼:改善C程序代碼的125個建議
- Visual Basic學習手冊
- Flux Architecture
- 網站構建技術
- SQL Server 2016數據庫應用與開發
- Java EE 8 Application Development
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- Orchestrating Docker
- SAS編程演義
- 信息學競賽寶典:基礎算法
- Instant PhoneGap
- F# for Machine Learning Essentials
- 深入解析WPF編程