Android UI Development with Jetpack Compose - Second Edition: Bring declarative and native UI to life quickly and easily on Android using Jetpack Comp

Künneth, Thomas

  • 出版商: Packt Publishing
  • 出版日期: 2023-11-03
  • 售價: $1,520
  • 貴賓價: 9.5$1,444
  • 語言: 英文
  • 頁數: 278
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1837634254
  • ISBN-13: 9781837634255
  • 相關分類: Android使用者介面 UI
  • 立即出貨 (庫存 < 3)

商品描述

Get started with creating intuitive native user interfaces on Android platforms using Kotlin and Jetpack Compose with the help of this illustrated guide


Key Features:


  • Distinguish between the imperative (Android View) and declarative (Jetpack Compose) approach
  • Explore the Compose app structure, UI elements, and core concepts like state and composition over inheritance
  • Enhance apps with animations, transitions and build for smartphones, tablets, and foldable devices
  • Purchase of the print or Kindle book includes a free PDF eBook


Book Description:


Compose has caused a paradigm shift in Android development, introducing a variety of new concepts that are essential to an Android developer's learning journey. It solves a lot of pain points associated with Android development and is touted to become the default way to building Android apps over the next few years. This second edition has been thoroughly updated to reflect all changes and additions that were made by Google since the initial stable release, and all examples are based on Material 3 (also called Material You).


This book uses practical examples to help you understand the fundamental concepts of Jetpack Compose and how to use them when you are building your own Android applications. You'll begin by getting an in-depth explanation of the declarative approach, along with its differences from and advantages over traditional user interface (UI) frameworks. Having laid this foundation, the next set of chapters take a practical approach to show you how to write your first composable function. The chapters will also help you master layouts, an important core component of every UI framework, and then move to more advanced topics such as animation, testing, and architectural best practices.


By the end of this book, you'll be able to write your own Android apps using Jetpack Compose and Material Design.


What You Will Learn:


  • Recognize the motivation behind Jetpack Compose
  • Gain an understanding of the core concepts of Jetpack Compose
  • Build a complete app using Jetpack Compose
  • Utilize Jetpack Compose inside existing Android applications
  • Test and debug apps that use Jetpack Compose
  • Understand Material Design and how it is implemented using Jetpack Compose
  • Write apps for different form factors
  • Bring your Compose UI to other platforms


Who this book is for:


If you're an Android developer with existing knowledge of the Kotlin programming language looking to learn how to build modern Android user interfaces using Jetpack Compose, then this book is for you. This book is not an introduction to Android development. You must have a basic understanding of how Android apps are developed using Android Studio.

商品描述(中文翻譯)

使用 Kotlin 和 Jetpack Compose 在 Android 平台上創建直觀的本機用戶界面,這本圖解指南將幫助您入門。

主要特點:
- 區分命令式(Android View)和聲明式(Jetpack Compose)方法
- 探索 Compose 應用程序結構、UI 元素以及狀態和組合的核心概念
- 通過動畫、過渡增強應用程序,並為智能手機、平板電腦和可摺疊設備進行構建
- 購買印刷版或 Kindle 版本的書籍將包含免費的 PDF 電子書

書籍描述:
Compose 在 Android 開發中引入了一個範式轉變,介紹了許多對 Android 開發人員的學習之旅至關重要的新概念。它解決了與 Android 開發相關的許多痛點,並被譽為未來幾年內構建 Android 應用程序的默認方式。本第二版已經全面更新,以反映 Google 自初始穩定版本以來所做的所有更改和新增功能,所有示例都基於 Material 3(也稱為 Material You)。

本書通過實際示例幫助您理解 Jetpack Compose 的基本概念以及在構建自己的 Android 應用程序時如何使用它們。您將首先深入了解聲明式方法,以及它與傳統用戶界面(UI)框架的區別和優勢。在奠定了這個基礎之後,下一組章節將以實用的方式展示如何編寫您的第一個可組合函數。這些章節還將幫助您掌握佈局,這是每個 UI 框架的重要核心組件,然後轉向更高級的主題,如動畫、測試和架構最佳實踐。

通過閱讀本書,您將能夠使用 Jetpack Compose 和 Material Design 編寫自己的 Android 應用程序。

學到什麼:
- 了解 Jetpack Compose 的動機
- 理解 Jetpack Compose 的核心概念
- 使用 Jetpack Compose 構建完整的應用程序
- 在現有的 Android 應用程序中使用 Jetpack Compose
- 測試和調試使用 Jetpack Compose 的應用程序
- 了解 Material Design 及其在 Jetpack Compose 中的實現方式
- 為不同的形式因素編寫應用程序
- 將您的 Compose UI 帶到其他平台

本書適合對 Kotlin 編程語言有基本了解並希望學習如何使用 Jetpack Compose 構建現代 Android 用戶界面的 Android 開發人員。本書不是 Android 開發的入門書籍,您必須對使用 Android Studio 開發 Android 應用程序有基本的理解。