Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
# Exploring Android, Version 2.0 — Reading Guide
## 【One-Line Pitch】
A hands-on, tutorial-driven guide that builds a complete to-do list app from scratch while teaching modern Android development with Kotlin, Jetpack components, and clean architecture patterns. Perfect for developers who learn best by building real projects rather than reading abstract theory.
## 【Book Arc】
- **Opening (~0%–10%)**: Sets up the development environment, introduces the ToDo app concept, and walks through installing Android Studio, creating a starter project, and configuring emulators and device profiles.
- **Early (~10%–23%)**: Covers fundamental UI construction—layouts, fragments, the Navigation component, app bars, and activities—while establishing the project's Gradle configuration and manifest setup.
- **Early-Middle (~23%–39%)**: Implements the core roster list with RecyclerView and adapters, then builds the detail display screen with proper navigation between fragments and state management.
- **Middle (~39%–48%)**: Adds editing capabilities with forms, CheckBox widgets, and save functionality, introducing ViewModel patterns and dependency injection with Koin.
- **Late (~48%–end)**: Refactors the codebase, adds error handling with dialogs, implements background work scheduling, and polishes the complete application with production-ready patterns.
## 【Key Takeaways】
- **Project-based learning structure** (Opening): The entire book revolves around building one functional ToDo app, with each tutorial adding a new feature—this keeps learning contextual and immediately applicable.
- **Navigation component as a core pattern** (Early): The book emphasizes using Android's Navigation component over manual FragmentTransactions, showing how to define navigation graphs in XML and pass arguments between destinations.
- **RecyclerView with custom adapters** (Early): Learn why CheckBox alone is insufficient for list rows with multiple click targets, and how to structure adapters and ViewHolders for maintainable list UIs.
- **ViewModel with Koin dependency injection** (Middle): The "Motor" pattern (SingleModelMotor) demonstrates how to separate UI logic from fragments, making code testable and lifecycle-aware.
- **Navigation arguments for data passing** (Middle): Passing model IDs between fragments via nav_graph arguments is shown as the idiomatic way to share data across screens, avoiding direct fragment-to-fragment coupling.
- **Back stack management** (Middle): Understanding popBackStack() for returning to previous screens is crucial for proper Android navigation UX.
- **Empty states and conditional UI** (Middle): The book shows how to handle the "no items yet" case with empty views that appear and disappear based on data presence.
## 【Reading Tips】
- **Follow along with the GitLab repository**: The book references a companion repository with completed code for each tutorial—use it to check your work or jump ahead if stuck.
- **Skip the Android Studio setup if you're experienced**: The opening chapters on installing tools and creating AVDs are thorough but can be skimmed if you already have a working environment.
- **Pay special attention to the "What We Changed" sections**: These summarize the exact files modified in each tutorial, serving as excellent review checkpoints.
- **Expect some code to be incomplete initially**: The book deliberately leaves stubs and TODOs for you to fill in—this is intentional, so don't get frustrated when things don't compile mid-tutorial.
- **The excerpts don't cover the final chapters**: The guide's source material ends around the refactoring stage, so the later sections on error dialogs and work scheduling are not fully represented here.
## 【Coverage Limits】
This guide is based on excerpts covering roughly the first half of the book (through the editing and refactoring tutorials). The later sections on error handling dialogs, background work scheduling, and final app polish are mentioned in the table of contents but not detailed in the source material.
##
Excerpt 1
“add” app bar item from the roster, the editor will appear blank, and submitting the form will create a new to-do item. If the user taps on the “edit” (penci...
ack stack”, doing the same thing as if the user pressed the device BACK button or clicked the “up” arrow in the app bar. Then, add a call to navToDisplay() f...
pended as needed to wait for the suspend work to complete”. viewModelScope is an extension function supplied by lifecycle-viewmodel-ktx, to give us a Corouti...
ve no entries in the database. assertThat(), equalTo(), and empty() are functions from Hamcrest, a testing library that we have access to via transitive depe...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Exploring Android, Version 2.0 (Mark L. Murphy)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share to WeChat Moments
Exploring Android, Version 2.0 (Mark L. Murphy)(Z-Library)
Scan the QR code with WeChat to open this book
Tap the ··· menu in the top-right corner
Choose Share to Moments
You are already in WeChat. Tap ··· in the top-right corner and choose Share to Moments.
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Exploring Android, Version 2.0 (Mark L. Murphy)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
Loading comments...
Reply to Comment
Edit Comment