O'Reilly logo

Sams Teach Yourself Google TV™ App Development in 24 Hours by Carmen Delessio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required