My Account Log in

2 options

Creating dynamic UIs with Android fragments : create engaging apps with fragments to provide a rich user interface that dynamically adapts to the individual characteristics of your customer's tablets and smartphones / Jim Wilson.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central College Complete Available online

View online
Format:
Book
Author/Creator:
Wilson, Jim, author.
Series:
Community experience distilled.
Community experience distilled
Language:
English
Subjects (All):
Android (Electronic resource).
Mobile computing.
Smartphones--Programming.
Smartphones.
Application software--Development.
Application software.
Physical Description:
1 online resource (154 p.)
Edition:
2nd ed.
Place of Publication:
Birmingham : Packt Publishing, 2016.
Biography/History:
Wilson Jim: Jim Wilson is the President of JW Hedgehog, Inc. , a consulting firm specializing in solutions for the Android, iOS, and Microsoft platforms. He has over 30 years of software engineering experience, with the past 15 years heavily focused on creating mobile device and location-based solutions. Jim cofounded multiple software-related startups and has served in a consulting role at several more. After nearly a decade as a Microsoft Device Application Development MVP, he now focuses on developing Android and iOS device applications. Jim's passion is mentoring software developers. He is a regular contributor of Android, iOS, and Xamarin training material at Pluralsight (http: //training. jwhh. com), a leading provider of online developer training. Jim has authored more than 30 articles on device application development and has served as a contributing expert on mobile software development issues for a variety of media outlets. Jim and his wife, along with several cats, split their time between Celebration, Florida (just three miles from Walt Disney World) and Weirs Beach, New Hampshire. You can take a look at his blog (http: //blog. jwhh. com) where he talks about a variety of mobile software development issues as well as the adventures of a life split between the busy region of the "House of Mouse" and the quietness of NH's lakes and mountains. You can reach Jim at androidtraining@jwhh. com.
Summary:
Create engaging apps with fragments to provide a rich user interface that dynamically adapts to the individual characteristics of your customers' tablets and smartphonesAbout This Book* From an eminent author comes a book that will help you create engaging apps that dynamically adapt to individual device characteristics* The only book that includes the latest fragment-oriented features and their role in Material design* This book provides code-intensive discussions and detailed examples that help you understand better and learn faster.Who This Book Is ForThis book is for developers with a basic understanding of Android programming who would like to improve the appearance and usability of their applications by creating a more interactive user experience and dynamically adaptive UIs; providing better support for tablets and smartphones in a single app; and reducing the complexity of managing app UIs.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 DesignIn DetailToday'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.Style and approachA fast-paced learning guide that gives a hands-on, code-intensive approach with a focus on real-world applications.
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Fragments and UI Modularization; The need for a new approach to UI creation; The broad platform support of fragments; How fragments simplify common Android tasks; The relationship between fragments and activities; Making the shift to fragments; The old thinking - activity-oriented; Defining the activity appearance; Displaying the activity UI; The new thinking: fragment-oriented; Creating the fragment layout resources; Creating the Fragment class
Converting an activity to use fragmentsSummary; Chapter 2: Fragments and UI Flexibility; Creating UI flexibility; Dynamic fragment layout selection; Adding an alternate layout resource; Managing fragment layout by screen size; Eliminating redundant layout descriptions; Designing fragments for flexibility; Avoiding tight coupling; Abstracting fragment relationships; Encapsulating fragment operations; Creating a loosely connected relationship between fragments; Fragments protect against the unexpected; Creating the book description activity; Adding functionality to the book description activity
Making the MainActivity class adaptiveSummary; Chapter 3: Fragment Life Cycle and Specialization; Understanding the fragment life cycle; Understanding fragment setup and display; Avoiding method name confusion; Understanding fragment hide and teardown; Maximizing the available resources; Managing a fragment state; Special-purpose fragment classes; ListFragment; Associating data with the list; Separating data from the display; DialogFragment; Styles; Layout; Displaying DialogFragment; Event handling in DialogFragment; The Dialog identity; Summary; Chapter 4: Working with Fragment Transactions
Intentional screen managementDynamically managing fragments; Deferred execution of transaction changes; Adding and removing fragments; Supporting the back button; Creating an adaptive application layout; Updating the layout to support dynamic fragments; Adapting to device differences; Dynamically loading a fragment at startup; Transitioning between fragments; Eliminating redundant handling; Creating the fragment on the fly; Managing asynchronous creation; Putting it all together; Summary; Chapter 5: Creating Rich Navigation; A brave new world; Making navigation fun with swipe
Implementing swipe navigationAdding swipe navigation with Android Studio; Managing the swipe UI behavior; Putting the swipe UI into place; Providing direct navigation to screens; Don't get trapped in the past; Direct navigation for a small number of screens; Direct navigation for four or more screens; Creating a navigation drawer activity with Android Studio; The activity and application screen fragment; The navigation drawer fragment; Summary; Chapter 6: Fragments and Material Design; Creating a rich user experience; Material design; Principles of material design; The role of motion
Converting our application to use material design
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed July 5, 2016).
ISBN:
9781785882760
1785882767

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account