Simplifying Android Development with Coroutines and Flows: Learn how to use Kotlin coroutines and the flow API to handle data streams asynchronously i
暫譯: 簡化 Android 開發:使用 Kotlin 協程與 Flow API 來非同步處理資料流
Tigcal, Jomar
- 出版商: Packt Publishing
- 出版日期: 2022-07-25
- 售價: $1,400
- 貴賓價: 9.5 折 $1,330
- 語言: 英文
- 頁數: 164
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1801816247
- ISBN-13: 9781801816243
-
相關分類:
Android、JVM 語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$709Android 高級編程, 4/e
商品描述
Get to grips with asynchronous programming in Android using simple, modern, and testable code through Kotlin coroutines and flow
Key Features:
- Find out how to improve app performance with Kotlin coroutines
- Discover the new recommended ways to use Kotlin coroutines and flows
- Learn the basics of asynchronous programming, along with an overview of coroutines and flow
Book Description:
Coroutines and flows are the new recommended way for developers to carry out asynchronous programming in Android using simple, modern, and testable code. This book will teach you how coroutines and flows work and how to use them in building Android applications, along with helping you to develop modern Android applications with asynchronous programming using real data.
The book begins by showing you how to create and handle Kotlin coroutines on Android. You'll explore asynchronous programming in Kotlin, and understand how to test Kotlin coroutines. Next, you'll learn about Kotlin flows on Android, and have a closer look at using Kotlin flows by getting to grips with handling flow cancellations and exceptions and testing the flows.
By the end of this book, you'll have the skills you need to build high-quality and maintainable Android applications using coroutines and flows.
What You Will Learn:
- Understand how coroutines and flows differ from existing ways
- Apply asynchronous programming in Android with coroutines and flows
- Find out how to build your own coroutines and flows in Android
- Handle, manipulate, and combine data in coroutines and flows
- Handle cancellations and exceptions from coroutines and flows
- Discover how to add tests for your coroutines and flows
- Integrate coroutines and flows into your Android projects
Who this book is for:
This book is for intermediate-level Android developers who want to level up their Android app-building skills. Familiarity with Android development and basic knowledge of Kotlin are needed to make the most of this book.
商品描述(中文翻譯)
掌握使用 Kotlin 協程和流進行 Android 非同步編程的簡單、現代且可測試的代碼
主要特點:
- 了解如何使用 Kotlin 協程提升應用程式性能
- 發現使用 Kotlin 協程和流的新推薦方法
- 學習非同步編程的基本概念,以及協程和流的概述
書籍描述:
協程和流是開發人員在 Android 中使用簡單、現代且可測試的代碼進行非同步編程的新推薦方式。本書將教您協程和流的運作方式,以及如何在構建 Android 應用程式時使用它們,並幫助您使用真實數據開發現代的 Android 應用程式。
本書首先展示如何在 Android 上創建和處理 Kotlin 協程。您將探索 Kotlin 中的非同步編程,並了解如何測試 Kotlin 協程。接下來,您將學習 Android 上的 Kotlin 流,並更深入地了解如何處理流的取消和異常以及測試流。
在本書結束時,您將具備使用協程和流構建高品質且可維護的 Android 應用程式所需的技能。
您將學到的內容:
- 了解協程和流與現有方法的不同之處
- 在 Android 中應用協程和流進行非同步編程
- 了解如何在 Android 中構建自己的協程和流
- 在協程和流中處理、操作和組合數據
- 處理協程和流中的取消和異常
- 發現如何為您的協程和流添加測試
- 將協程和流整合到您的 Android 專案中
本書適合誰:
本書適合希望提升 Android 應用程式開發技能的中級 Android 開發人員。熟悉 Android 開發和基本的 Kotlin 知識將有助於您充分利用本書。