##Building Adaptive Android Apps with Fragments
Posted by Superadmin on December 24 2020 04:29:32

Building Adaptive Android Apps with Fragments

Created by David Gassner


00_01 welcome



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


00_02 Prerequistes



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


00_03 Exercise files



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


01_01 Configuring the developer tools for this course



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


01_02 Setting up virtual devices for testing



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


01_03 Understanding fragments



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


01_04 Exploring an App template with fragements



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


02_01 Defining a Fragment Layout in XML



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


02_02 Adding a Fragment to an Activity with XML



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


02_03 Using the fragment transaction class



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


02_04 Adding a Fragment to an Activity with Java



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


02_05 Using a List Fragment



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


03_01 Discovering a Devices dimensions at runtime



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


03_02 Adding Resources for screen size



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


03_03 Using resource aliases



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


03_04 Creating a Layout with two fragements



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


04_01 Adding a detail view fragment



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


04_02 Understanding callback methods



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


04_03 Defining and implmenting a callback interface



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


04_04 Passing arguments to Fragements



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


04_05 Detecting a Dual Pane Layout at runtime



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


05_01 Testing the App on Older versions of Android



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


05_02 Adding the support library and updating the app



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


06_01 Using Preference Fragments



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


06_02 Displaying Dialog with fragments



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


07_01 nextsteps



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files

Building Adaptive Android Apps with Fragments

Created by David Gassner


08_01 Ex_Files_Android_Fragments.zip



Description

One of the most common issues Android developers face is market fragmentation: the variations in screen size and pixel density among the thousands of phones, tablets, and even desktop computers that run Android. The Fragments API (introduced in Android 3.0) helps you deal with this issue. This course teaches Android developers how to program with the Fragments API, and build apps that work well on a wide variety of devices. David Gassner shows how to define different fragment layouts and add them to activities with XML or Java, create layouts for different screens and use a resource alias to select the right layout at runtime, and communicate between activities and fragments. He'll also show you how to make fragments work on older versions of Android, with the support library, and use fragments to display dialogs and preference screens.
Topics include:
  • Understanding fragments
  • Adding fragments to activities
  • Creating layouts for multiple screens
  • Understanding arguments and callback methods
  • Updating apps with support for fragments



      
Course Contents
00 Introduction 01 Getting Started 02 Adding Fragments to activities 03 Creating layouts for multiple screens 04 Communicating between Activities and Fragments 05 Using Fragments in Gingerbread and Froyo 06 Other Uses of Fragements 07 Conclusion 08 Exercise Files