- Asynchronous Android Programming(Second Edition)
- Helder Vasconcelos
- 126字
- 2021-07-14 10:43:17
Chapter 4. Exploring the Loader
In the previous chapter we familiarized ourselves with the simplest and high level, Android-specific, asynchronous construct; the android.os.AsyncTask
. The AsyncTask
is a lean construct used to create background work that offers a simple interface to publish results and send progress to the main thread. In this chapter we are going to move our focus to android.content.Loader
, a high level Android-specific pattern used to load content asynchronously from content providers or data sources over a worker thread with content change capabilities and component lifecycle awareness.
In this chapter we will cover the the following topics:
- Introducing loaders
- Loader API
- Loader lifecycle
- Loading data with Loader
- Building responsive apps with AsyncTaskLoader
- Building responsive apps with CursorLoader
- Combining loaders
- Applications of loaders
推薦閱讀
- Apache ZooKeeper Essentials
- Learning Spring 5.0
- Developing Middleware in Java EE 8
- TestNG Beginner's Guide
- NumPy Essentials
- Hands-On C++ Game Animation Programming
- SQL Server 2016數(shù)據(jù)庫應用與開發(fā)習題解答與上機指導
- Getting Started with Python Data Analysis
- Mastering Linux Network Administration
- R Data Analysis Cookbook(Second Edition)
- R Data Science Essentials
- C++ Application Development with Code:Blocks
- Python Machine Learning Blueprints:Intuitive data projects you can relate to
- SwiftUI極簡開發(fā)
- Python面試通關寶典