CG数据库 >> Lynda – Building Adaptive Android Apps With Fragments

Lynda – Building Adaptive Android Apps With Fragments的图片1

Lynda - Building Adaptive Android Apps with Fragments | 638MB

Duration: 2h 08m | Video: AVC (.mp4) 1280x720 15fps | Audio: AAC 48KHz 2chGenre: eLearning | Level: Intermediate | Language: English

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

Lynda – Building Adaptive Android Apps With Fragments的图片2