Simplifying Android Development with Coroutines and Flows: Learn how to use Kotlin coroutines and the flow API to handle data streams asynchronously in your Android app

0
(0)

Simplifying Android Development with Coroutines and Flows: Learn how to use Kotlin coroutines and the flow API to handle data streams asynchronously in your Android app
 

  • Author:Jomar Tigcal
  • Length: 164 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2022-07-27
  • ISBN-10: 1801816247
  • ISBN-13: 9781801816243
  • Sales Rank: #2491729 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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.

    中文:

    书名:使用协程和流简化Android开发:了解如何使用Kotlin协程和流API在Android应用程序中异步处理数据流

    通过Kotlin协程和流使用简单、现代且可测试的代码掌握Android中的异步编程

    主要特点

    • Find out how to improve app performance with Kotlin coroutines
    • 了解使用Kotlin协程和流的新推荐方法
    • 学习异步编程的基础知识,以及协程和流的概述

    图书描述

    协程和流是开发人员使用简单、现代和可测试的代码在Android中执行异步编程的新推荐方式。这本书将教你协程和流如何工作,以及如何在构建Android应用程序时使用它们,并帮助你使用真实数据通过异步编程开发现代Android应用程序。

    本书一开始就向你展示了如何在Android上创建和处理Kotlin协程。您将探索Kotlin中的异步编程,并了解如何测试Kotlin协程。接下来,您将了解Android上的Kotlin流,并通过掌握如何处理流取消和异常以及测试流来更深入地了解如何使用Kotlin流。

    到本书结束时,您将掌握使用协程和流构建高质量且可维护的Android应用程序所需的技能。

    你将学到什么

    • 了解协程和流与现有方式的不同之处
    • 使用协程和流在Android中应用异步编程
    • 了解如何在Android中构建您自己的协程和流
    • 处理、操作和组合协程和流中的数据
    • 处理协程和流中的取消和异常
    • Discover how to add tests for your coroutines and flows
    • 将协程和流集成到您的Android项目中

    Who this book is for

    这本书是为想要提升Android应用程序构建技能的中级Android开发人员编写的。要充分理解这本书,需要熟悉Android开发和Kotlin的基本知识。

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册