This chapter discusses the relationship of the lifecycle of fragments to that of activities, and demonstrates the appropriate programming actions at the various points in the lifecycle. The special purpose fragment classes
DialogFragment are introduced with coverage of their use and how their behavior in the activity lifecycle differs from that of standard fragments.
The following topics are covered in this chapter:
DialogFragmentclass as a traditional
Dialogclass in a