商品描述
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.
What you’ll learn
- What are Android fragments
- How to work and code for fragments
- How to respond to configuration changes
- How to do regular and fragmented dialogs
- How to work with preferences and saving state
- How to work with the compatibility library
- How to handle advanced async tasks and progress dialogs
Who this book is for
This book is for experienced Android app developers wanting improved user interfaces and their behavior.
Table of Contents
1. Fragments Fundamentals
2. Responding to Configuration Changes
3. Dialogs: Regular and Fragment
4. Working with Preferences and Saving State
5. Compatibility Library
6. Advanced Async Task & Progress Dialogs
商品描述(中文翻譯)
《Android Fragments》是一本100頁的快速入門加速指南,旨在學習和快速使用Android片段。您將學習如何為片段編碼;處理配置變更;編碼常規對話框與片段對話框;處理偏好設定和狀態保存;使用相容性庫;以及處理進階的非同步任務和進度對話框。
在閱讀和使用這本基於暢銷書《Pro Android》的書籍後,您將成為Android UI的專家。至少,您的應用程式的使用者介面和事件處理將更具競爭力且表現更佳,特別是在平板電腦優化的UI和事件方面。
您將學到的內容:
- 什麼是Android片段
- 如何為片段工作和編碼
- 如何響應配置變更
- 如何處理常規和片段對話框
- 如何處理偏好設定和狀態保存
- 如何使用相容性庫
- 如何處理進階的非同步任務和進度對話框
本書適合對象:
本書適合希望改善使用者介面及其行為的經驗豐富的Android應用程式開發者。
目錄:
1. 片段基礎
2. 響應配置變更
3. 對話框:常規與片段
4. 處理偏好設定和狀態保存
5. 相容性庫
6. 進階非同步任務與進度對話框