9 Address Book App
Objectives
In this chapter you’ll:
Use
FragmentTransaction
s and the back stack to dynamically attachFragment
s to and detachFragment
s from the GUI.Use a
RecyclerView
to display data from a database.Create and open databases with
SQLiteOpenHelper
.Use a
ContentProvider
and aSQLiteDatabase
object to interact with data in a SQLite database.Use a
ContentResolver
to invoke methods of aContentProvider
to perform tasks with a database.Use a
LoaderManager
andLoader
s to perform database access asynchronously outside the GUI thread.Use
Cursor
s to manipulate database query results.Define styles containing common GUI attributes and values, then apply them to multiple GUI components.
Get Android How to Program, 3/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.