Hour 12. Using Specialized Fragments
What You’ll Learn in This Hour:
• How to Display a DialogFragment
• How to use a ListFragment
• How to create GridView and Gallery Fragments
In this hour, you learn about two specialized Fragments. They are DialogFragments
and ListFragments
. DialogFragments
are used to create dialog windows that allow users to interact with the app. ListFragments
are a convenient way to show a user a list of information. Additionally, you’ll learn about GridViews
and Gallery
views. GridViews and Gallery views can act as alternative displays for a list, but require us to build our own Fragments.
DialogFragments
Dialogs enable user interaction without losing context. When a dialog window is displayed, it usually contains a ...
Get Sams Teach Yourself Google TV™ App Development in 24 Hours 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.