E-book details

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

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

Jomar Tigcal, Aileen Apolo-de Jesus

Ebook
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.
  • 1. Introduction to Asynchronous Programming in Android
  • 2. Understanding Kotlin Coroutines
  • 3. Handling Coroutine Cancelations and Exceptions
  • 4. Testing Kotlin Coroutines
  • 5. Using Kotlin Flows
  • 6. Handling Flow Cancelations and Exceptions
  • 7. Testing Kotlin Flows
  • Title: 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, Aileen Apolo-de Jesus
  • Original title: 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
  • ISBN: 9781801817202, 9781801817202
  • Date of issue: 2022-07-27
  • Format: Ebook
  • Item ID: e_2t6b
  • Publisher: Packt Publishing