->
Lynda - Building Flexible Android Apps with the Fragments API with Java - 487934
Lynda - Building Flexible Android Apps with the Fragments API with Java
One of the most common challenges Android developers face is the variation in screen sizes among the thousands of phones, tablets, and other devices that run Android. The Fragments API (introduced in Android 3.0) provides an elegant solution. With fragments, you can build flexible layouts that adapt to any screen size—and do so dynamically, at runtime. In this course, David Gassner shows how to define a layout, add fragments to activities with Java or XML, create alternative layouts for different screen sizes, and use resource folder names to detect and select the right layout. He also shows you how to communicate between activities and fragments with arguments and callback methods, and use fragments to manage dialogs and shared preferences.


Table of Contents

  • Introduction
  • 1. Getting Started
  • 2. Display Fragments in Activities
  • 3. Manage Fragments at Runtime
  • 4. Communication between Fragments and Activities
  • 5. Display Dialogs with Fragments
  • 6. Other Uses of Fragments
  • Conclusion
  • Lynda - Building Flexible Android Apps with the Fragments API with Java


     TO MAC USERS: If RAR password doesn't work, use this archive program: 

    RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


     TO WIN USERS: If RAR password doesn't work, use this archive program: 

    Latest Winrar  and extract password protected files without error.


     Coktum   |  

    Information
    Members of Guests cannot leave comments.




    rss