Creating Dynamic UI with Android Fragments — Save 50%
Leverage the power of Android fragments to develop dynamic user interfaces for your apps with this book and ebook
This article by Jim Wilson, author of Creating Dynamic UI with Android Fragments, shows how to use fragments to meet the challenges of creating dynamic UIs in the modern world of mobile app development.
(For more resources related to this topic, see here.)
Many applications involve several screens of data that a user might want to browse or flip through to view each screen. As an example, think of an application where we list a catalogue of books with each book in the catalogue appearing on a single screen. A book's screen contains an image, title, and description like the following screenshot:
To view each book's information, the user needs to move to each screen. We could put a next button and a previous button on the screen, but a more natural action is for the user to use their thumb or finger to swipe the screen from one edge of the display to the other and have the screen with the next book's information slide into place as represented in the following screenshot:
This creates a very natural navigation experience, and honestly, is a more fun way to navigate through an application than using buttons.
Fragments are the foundation of modern Android app development, allowing us to display multiple application screens within a single activity. Thanks to the flexibility provided by fragments, we can now incorporate rich navigation into our apps with relative ease. Using these rich navigation capabilities, we're able to create a more dynamic user interface experience that make our apps more compelling and that users find more fun to work with.
Resources for Article :
- So, what is Spring for Android? [Article]
- Android Native Application API [Article]
- Animating Properties and Tweening Pages in Android 3-0 [Article]
eBook Price: $23.99
Book Price: $39.99
About the Author :
Jim Wilson is president of JW Hedgehog, Inc., a consulting firm specializing in solutions for the Android, iOS, and Microsoft platforms. Jim has nearly 30 years of software engineering experience, with the past 13 years heavily focused on creating mobile device and location-based solutions. After nearly a decade as a Microsoft Device Application Development MVP, Jim now focuses on developing Android and iOS device applications.
Jim's passion is teaching and mentoring software developers. He is a regular contributor of Android-related training materials to 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 developed mobility and smart client curriculums for several organizations. You can find Jim speaking at a variety of industry conferences, including AnDevCon, Microsoft Professional Developers Conference, Tech Ed, VS Live, Mobile and Embedded Developers Conference, and many others.
Jim and his wife, along with several cats, live in Celebration, Florida (just 3 miles from Walt Disney World). Check out Jim's blog (http://blog.jwhh.com) where he talks about a variety of mobile software development issues as well as the fun of life just 3 miles from the "House of Mouse".
You can reach Jim at email@example.com.