Download Now

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 fragmentsAdding fragments to activitiesCreating layouts for multiple screensUnderstanding arguments and callback methodsUpdating apps with support for fragments
Download link:

Direct Download

Tags: Building, Adaptive, Android, Fragments

Add Comments:
Enter Code: *