- 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
推薦閱讀
- Data Visualization with D3 4.x Cookbook(Second Edition)
- Learning Scala Programming
- TypeScript入門與實戰
- Kubernetes實戰
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- C++ Builder 6.0下OpenGL編程技術
- OpenCV 3和Qt5計算機視覺應用開發
- Bulma必知必會
- R語言編程指南
- Mastering C# Concurrency
- QGIS By Example
- Visual Basic程序設計
- 新一代SDN:VMware NSX 網絡原理與實踐
- Buildbox 2.x Game Development
- QPanda量子計算編程