- 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.
推薦閱讀
- Hyper-V 2016 Best Practices
- ASP.NET MVC4框架揭秘
- Android開發(fā)精要
- C++面向?qū)ο蟪绦蛟O(shè)計(微課版)
- Python程序設(shè)計(第3版)
- Offer來了:Java面試核心知識點精講(原理篇)
- PostgreSQL Replication(Second Edition)
- Modern JavaScript Applications
- Mastering Drupal 8 Views
- Visual C#通用范例開發(fā)金典
- Python Web數(shù)據(jù)分析可視化:基于Django框架的開發(fā)實戰(zhàn)
- Mastering ROS for Robotics Programming
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- Mastering ArcGIS Enterprise Administration
- Getting Started with Python