Creating Dynamic UIs with Android Fragments - Second Edition

Create engaging apps with fragments to provide a rich user interface that dynamically adapts to the individual characteristics of your customers’ tablets and smartphones
Preview in Mapt

Creating Dynamic UIs with Android Fragments - Second Edition

Jim Wilson

2 customer reviews
Create engaging apps with fragments to provide a rich user interface that dynamically adapts to the individual characteristics of your customers’ tablets and smartphones

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$20.83/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$29.99
$29.99 p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Creating Dynamic UIs with Android Fragments - Second Edition Book Cover
Creating Dynamic UIs with Android Fragments - Second Edition
$ 23.99
$ 16.80
Android: Programming for Developers Book Cover
Android: Programming for Developers
$ 71.99
$ 50.40
Buy 2 for $34.30
Save $61.68
Add to Cart

Book Details

ISBN 139781785889592
Paperback154 pages

Book Description

Today’s users expect mobile apps to be dynamic and highly interactive, with rich navigation features. These same apps must look fantastic whether running on a medium-resolution smartphone or high-resolution tablet. Fragments provide the toolset we need to meet these user expectations by enabling us to build our applications out of adaptable components that take advantage of the rich capabilities of each individual device and automatically adapt to their differences.

This book looks at the impact fragments have on Android UI design and their role in both simplifying many common UI challenges and in providing best practices for incorporating rich UI behaviors. We look closely at the roll of fragment transactions and how to work with the Android back stack. Leveraging this understanding, we explore several specialized fragment-related classes such as ListFragment and DialogFragment. We then go on to discuss how to implement rich navigation features such as swipe-based screen browsing, and the role of fragments when developing applications that take advantage of the latest aspects of Material Design.

You will learn everything you need to provide dynamic, multi-screen UIs within a single activity, and the rich UI features demanded by today’s mobile users.

Table of Contents

Chapter 1: Fragments and UI Modularization
The need for a new approach to UI creation
Summary
Chapter 2: Fragments and UI Flexibility
Creating UI flexibility
Fragments protect against the unexpected
Summary
Chapter 3: Fragment Life Cycle and Specialization
Understanding the fragment life cycle
Special-purpose fragment classes
Summary
Chapter 4: Working with Fragment Transactions
Intentional screen management
Dynamically managing fragments
Creating an adaptive application layout
Summary
Chapter 5: Creating Rich Navigation
A brave new world
Making navigation fun with swipe
Providing direct navigation to screens
Summary
Chapter 6: Fragments and Material Design
Creating a rich user experience
Material design
Converting our application to use material design
Incorporating motion in fragment transitions
Summary

What You Will Learn

  • Learn the role and capabilities of fragments
  • Use Android Studio's fragment-oriented features
  • Create an app UI that works effectively on smartphones and tablets
  • Manage the creation and life cycle of fragments
  • Dynamically manage fragments using the FragmentTransaction class
  • Learn the application design for communicating between fragments
  • Leverage fragments when implementing applications that take advantage of the latest features of Material Design

Authors

Table of Contents

Chapter 1: Fragments and UI Modularization
The need for a new approach to UI creation
Summary
Chapter 2: Fragments and UI Flexibility
Creating UI flexibility
Fragments protect against the unexpected
Summary
Chapter 3: Fragment Life Cycle and Specialization
Understanding the fragment life cycle
Special-purpose fragment classes
Summary
Chapter 4: Working with Fragment Transactions
Intentional screen management
Dynamically managing fragments
Creating an adaptive application layout
Summary
Chapter 5: Creating Rich Navigation
A brave new world
Making navigation fun with swipe
Providing direct navigation to screens
Summary
Chapter 6: Fragments and Material Design
Creating a rich user experience
Material design
Converting our application to use material design
Incorporating motion in fragment transitions
Summary

Book Details

ISBN 139781785889592
Paperback154 pages
Read More
From 2 reviews

Read More Reviews

Recommended for You

Android: Programming for Developers Book Cover
Android: Programming for Developers
$ 71.99
$ 50.40
Android Design Patterns and Best Practice Book Cover
Android Design Patterns and Best Practice
$ 35.99
$ 25.20
Android: Game Programming Book Cover
Android: Game Programming
$ 69.99
$ 49.00
Learning Android Google Maps Book Cover
Learning Android Google Maps
$ 39.99
$ 28.00
Swift 3 Protocol-Oriented Programming - Second Edition Book Cover
Swift 3 Protocol-Oriented Programming - Second Edition
$ 31.99
$ 22.40
Object-Oriented JavaScript - Second Edition Book Cover
Object-Oriented JavaScript - Second Edition
$ 29.99
$ 21.00