Book description
Android Fragments is a 100-page quick start accelerated guide to learning and quickly using Android fragments. You'll learn how to code for fragments; deal with config changes; code for regular vs. fragmented dialogs; work with preferences and saving state; work with the compatibility library; and handle advanced async tasks and progress dialogs.
After reading and using this book, which is based on material from the best-selling Pro Android, you'll be an Android UI savant. At the very least, your apps' user interfaces and event handling will be more competitive and better performing, especially for tablet-optimized UIs and events.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Fragments Fundamentals
- Chapter 2: Responding to Configuration Changes
- Chapter 3: Working with Dialogs
-
Chapter 4: Working with Preferences and Saving State
-
Exploring the Preferences Framework
- Understanding CheckBoxPreference and SwitchPreference
- Accessing a Preference Value in Code
- Understanding ListPreference
- Understanding EditTextPreference
- Understanding MultiSelectListPreference
- Updating AndroidManifest.xml
- Using PreferenceCategory
- Creating Child Preferences with Dependency
- Preferences with Headers
- PreferenceScreens
- Dynamic Preference Summary Text
- Reference
- Summary
-
Exploring the Preferences Framework
- Chapter 5: Using the Compatibility Library for Older Devices
-
Chapter 6: Advanced AsyncTask and Progress Dialogs
- Introducing the AsyncTask
-
Implementing a Simple AsyncTask
- Implementing Your First AsyncTask
- Calling an AsyncTask
- Understanding the onPreExecute() Callback and Progress Dialog
- Understanding the doInBackground() Method
- Triggering onProgressUpdate() through publishProgress()
- Understanding the onPostExecute() Method
- Upgrading to a Deterministic Progress Dialog
- AsyncTask and Thread Pools
- Issues and Solutions for Correctly Showing the Progress of an AsyncTask
- References
- Summary
- Index
Product information
- Title: Android Fragments
- Author(s):
- Release date: November 2014
- Publisher(s): Apress
- ISBN: 9781484208533
You might also like
book
Beginning Android Wearables
Although wearable devices have existed since the 70s, they have only recently become mainstream. Google Glass …
book
Creating Dynamic UI with Android Fragments
Make your Android apps a superior, silky-smooth experience for the end-user with this comprehensive guide to …
book
Migrating to Swift from Android
In 250 pages, Migrating to Swift from Android gives you—as an experienced Android app developer—all you …
book
Smashing Android UI
Designers and developers, create smashing apps for Android devices If you're developing applications for Android smartphones …