- 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
推薦閱讀
- Mastering Concurrency Programming with Java 8
- HoloLens Beginner's Guide
- PyQt從入門到精通
- 實戰Java程序設計
- Functional Programming in JavaScript
- concrete5 Cookbook
- Learning Salesforce Einstein
- Linux Device Drivers Development
- 智能搜索和推薦系統:原理、算法與應用
- 小程序,巧應用:微信小程序開發實戰(第2版)
- Access 2010中文版項目教程
- Visual Basic 6.0程序設計實驗教程
- OpenCV 3 Blueprints
- 人工智能算法(卷1):基礎算法
- 零基礎輕松學C++:青少年趣味編程(全彩版)