- 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
推薦閱讀
- jQuery Mobile Web Development Essentials(Third Edition)
- PWA入門與實踐
- 深入理解Bootstrap
- 零基礎學C++程序設計
- Ceph Cookbook
- WSO2 Developer’s Guide
- Learn Scala Programming
- 從學徒到高手:汽車電路識圖、故障檢測與維修技能全圖解
- Microsoft System Center Orchestrator 2012 R2 Essentials
- Unreal Engine 4 Shaders and Effects Cookbook
- Learning FuelPHP for Effective PHP Development
- LabVIEW虛擬儀器入門與測控應用100例
- C語言程序設計簡明教程:Qt實戰
- MATLAB GUI純代碼編寫從入門到實戰
- PHP 8從入門到精通(視頻教學版)