Mastering Jetpack Compose for Android with Kotlin: Build Modern Apps Using MVVM, Coroutines, ViewModel, LiveData, Retrofit, and Navigation
暫譯: 精通 Jetpack Compose for Android 與 Kotlin:運用 MVVM、Coroutines、ViewModel、LiveData、Retrofit 與 Navigation 建構現代化應用程式

Parvin, R.

  • 出版商: Independently Published
  • 出版日期: 2026-08-10
  • 售價: $1,070
  • 貴賓價: 9.5 折 $1,016
  • 語言: 英文
  • 頁數: 340
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798191989204
  • ISBN-13: 9798191989204
  • 相關分類: Android
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Build modern Android applications with Jetpack Compose-and learn how the pieces fit together in production-ready architecture.

Mastering Jetpack Compose for Android with Kotlin goes beyond isolated UI examples to show you how to design complete, maintainable Android applications. Through clear explanations, practical code, and a continuous TaskBoard project, you will learn how Compose works with Kotlin, MVVM, ViewModel, coroutines, Retrofit, Navigation, local persistence, and modern state management.

Whether you are moving from XML layouts, strengthening your Compose skills, or learning Android architecture for the first time, this book provides a structured path from foundational concepts to advanced implementation decisions.

Inside, you will learn how to:

  • Build responsive interfaces with composable functions and Material 3 theming
  • Understand state, recomposition, side effects, and unidirectional data flow
  • Organize applications using MVVM and layered architecture
  • Model immutable screen state and user events
  • Use ViewModel, SavedStateHandle, StateFlow, Flow, and LiveData interoperability
  • Manage asynchronous work with Kotlin coroutines and structured concurrency
  • Connect applications to REST APIs using Retrofit
  • Represent loading, success, empty, and failure states clearly
  • Implement type-safe Navigation Compose routes and argument handling
  • Store data with Room and preferences with DataStore
  • Design offline-first repositories, caching, refresh, and synchronization policies
  • Test ViewModels, repositories, coroutines, Compose interfaces, and Room migrations
  • Diagnose recomposition, performance, stability, and lifecycle problems
  • Apply security, privacy, accessibility, and release-readiness practices
  • Scale Compose architecture for larger applications and development teams
-

The continuous TaskBoard project demonstrates how these concepts work together. Its downloadable companion materials include organized source code, tests, Room schemas, validation utilities, and a reproducible project structure that you can study, modify, and extend.

You will also find troubleshooting guidance, hands-on workshops, architecture patterns, migration strategies, debugging case studies, exercises, implementation checklists, architecture decision records, and a practical 30-day learning plan.

This book is ideal for:

  • Android developers transitioning from XML layouts to Jetpack Compose
  • Kotlin developers entering modern Android development
  • Students and self-taught programmers seeking project-based instruction
  • Developers preparing for Android interviews or portfolio projects
  • Professionals who want maintainable patterns for real-world Compose applications
-

Stop treating Compose as a collection of disconnected UI functions. Learn how to combine interface design, state management, networking, persistence, testing, and architecture into Android applications that remain understandable as they grow.

商品描述(中文翻譯)

使用 Jetpack Compose 建置現代 Android 應用程式,並了解如何在可投入正式環境的架構中整合各個部分。

《Mastering Jetpack Compose for Android with Kotlin》不只提供獨立的 UI 範例,更將展示如何設計完整且易於維護的 Android 應用程式。透過清楚的說明、實用的程式碼,以及貫穿全書的 TaskBoard 專案,您將學習 Compose 如何與 Kotlin、MVVM、ViewModel、coroutines、Retrofit、Navigation、區域持久化儲存,以及現代化狀態管理搭配使用。

無論您是從 XML 版面配置轉換而來、想強化 Compose 技能,或是第一次學習 Android 架構,本書都會提供一條從基礎概念到進階實作決策的系統化學習路徑。

本書將帶您學習:

• 使用 composable functions 與 Material 3 主題建立回應式介面
• 理解狀態(state)、重新組合(recomposition)、副作用(side effects)與單向資料流(unidirectional data flow)
• 使用 MVVM 與分層架構組織應用程式
• 建模不可變的畫面狀態與使用者事件
• 使用 ViewModel、SavedStateHandle、StateFlow、Flow,以及與 LiveData 的互通功能
• 使用 Kotlin coroutines 與結構化並行處理(structured concurrency)管理非同步工作
• 使用 Retrofit 將應用程式連接至 REST API
• 清楚呈現載入、成功、空資料與失敗等狀態
• 實作具備型別安全的 Navigation Compose 路由與參數處理
• 使用 Room 儲存資料,並使用 DataStore 儲存偏好設定
• 設計離線優先(offline-first)的 repository、快取、重新整理與同步策略
• 測試 ViewModel、repository、coroutines、Compose 介面與 Room migration
• 診斷重新組合、效能、穩定性與生命週期問題
• 實踐安全性、隱私權、無障礙與正式發布準備相關作法
• 為較大型的應用程式與開發團隊擴充 Compose 架構

貫穿全書的 TaskBoard 專案將示範這些概念如何彼此整合。可下載的隨附教材包含經過整理的原始程式碼、測試、Room schema、驗證工具,以及可重現的專案結構,您可以加以研究、修改與擴充。

您還會找到疑難排解指南、實作工作坊、架構模式、遷移策略、除錯案例研究、練習、實作檢查清單、架構決策紀錄,以及實用的 30 天學習計畫。

本書適合:

• 正從 XML 版面配置轉換至 Jetpack Compose 的 Android 開發者
• 想投入現代 Android 開發的 Kotlin 開發者
• 尋求以專案為導向教學的學生與自學程式設計者
• 準備 Android 面試或作品集專案的開發者
• 想為實際 Compose 應用程式採用可維護模式的專業人士

別再把 Compose 視為一組彼此無關的 UI 函式。學習如何將介面設計、狀態管理、網路連線、資料持久化、測試與架構整合起來,打造出即使持續擴充仍然容易理解的 Android 應用程式。

類似商品

最後瀏覽商品 (1)