February 2016
Beginner to intermediate
500 pages
187h 36m
English
AddEditFragment ClassThe AddEditFragment class provides a GUI for adding new contacts or editing existing ones. Many of the programming concepts used in this class have been presented earlier in this chapter or in prior chapters, so we focus here only on the new features.
Figure 9.40 lists the package statement, import statements and the beginning of the AddEditFragment class definition. The class extends Fragment and implements the LoaderManager.LoaderCallbacks<Cursor> interface to respond to LoaderManager events.
AddEditFragment package statement and import statements
Read now
Unlock full access