What You’ll Learn in This Hour:
• How Loaders work
• What Loader classes are available
• How to initialize, create, and reset a Loader
• How to add loaders to ImageViewFragment
In Hour 16, “Creating a Content Provider,” we created our own ContentProvider. PhotoProvider provides content about photos on Facebook pages and returns an image file when requested. One reason we developed our own ContentProvider was to take advantage of how well ContentProviders work with CursorLoaders.
In this hour, we change our app to take advantage of a CursorLoader. CursorLoaders are an implementation of the Loader class.
Loaders were introduced in Android 3.0. We are assured that they can be used in all ...