- Asynchronous Android Programming(Second Edition)
- Helder Vasconcelos
- 103字
- 2021-07-14 10:43:17
Summary
In this chapter, we've taken a detailed look at AsyncTask
and how to use it to write responsive applications that perform operations without blocking the main thread.
We saw how to keep users informed of the progress, and even allow them to cancel operations early. We also learned how to deal with issues that can arise when the Activity lifecycle conspires against our background tasks.
Finally, we considered when to use AsyncTask
, and when it might not be appropriate.
In the next chapter we'll learn about Loader—a construct designed to streamline the asynchronous loading of data on the Android platform.
推薦閱讀
- C語言程序設計實踐教程(第2版)
- Python 3.7網(wǎng)絡爬蟲快速入門
- Progressive Web Apps with React
- Cocos2D-X權威指南(第2版)
- 程序設計與實踐(VB.NET)
- Python入門很簡單
- Apache Spark 2.x Machine Learning Cookbook
- 少年輕松趣編程:用Scratch創(chuàng)作自己的小游戲
- R語言游戲數(shù)據(jù)分析與挖掘
- 面向STEM的Scratch創(chuàng)新課程
- 匯編語言程序設計(第2版)
- Windows內(nèi)核編程
- Clojure Data Structures and Algorithms Cookbook
- AI輔助編程Python實戰(zhàn):基于GitHub Copilot和ChatGPT
- Visual FoxPro程序設計實驗教程