- 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.
推薦閱讀
- DevOps:軟件架構師行動指南
- DBA攻堅指南:左手Oracle,右手MySQL
- Linux核心技術從小白到大牛
- SQL語言從入門到精通
- C語言程序設計案例式教程
- Building Minecraft Server Modifications
- D3.js 4.x Data Visualization(Third Edition)
- Getting Started with Greenplum for Big Data Analytics
- Clean Code in C#
- 算法圖解
- 實戰Python網絡爬蟲
- Python數據科學實踐指南
- Design Patterns and Best Practices in Java
- React.js實戰
- Getting Started with RethinkDB