- 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
推薦閱讀
- 大話PLC(輕松動漫版)
- Building Modern Web Applications Using Angular
- 微服務與事件驅動架構
- Learning ArcGIS Pro 2
- 編寫整潔的Python代碼(第2版)
- Internet of Things with the Arduino Yún
- Hands-On Microservices with Kotlin
- OpenShift在企業中的實踐:PaaS DevOps微服務(第2版)
- 信息技術應用基礎
- Elasticsearch for Hadoop
- Python機器學習基礎教程
- Python3.5從零開始學
- Qt5 C++ GUI Programming Cookbook
- Instant Debian:Build a Web Server
- Getting Started with Polymer