Simplifying Android Development with Coroutines and Flows - Jomar Tigcal

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

(Autor)

Buch | Softcover
164 Seiten
2022
Packt Publishing Limited (Verlag)
978-1-80181-624-3 (ISBN)
33,65 inkl. MwSt
This book is a comprehensive guide that teaches Android developers asynchronous programming using Kotlin flows and coroutines. You’ll begin with the basics of asynchronous programming, including an overview of coroutines and flows, while also integrating them into your Android projects. You’ll also learn how to create high-performant Android ...
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 DescriptionCoroutines 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 forThis 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.

Jomar Tigcal is an Android developer with over 10 years of experience in mobile and software development. He worked on various stages of app development for small startups to large companies. Jomar has also given talks and conducted training and workshops on Android. In his free time, he likes running and reading. He lives in Vancouver, Canada with his wife Celine.

Table of Contents

Introduction to Asynchronous Programming in Android
Understanding Kotlin Coroutines
Handling Coroutine Cancelations and Exceptions
Testing Kotlin Coroutines
Using Kotlin Flows
Handling Flow Cancelations and Exceptions
Testing Kotlin Flows

Erscheinungsdatum
Vorwort Aileen Apolo-de Jesus
Verlagsort Birmingham
Sprache englisch
Maße 75 x 93 mm
Themenwelt Informatik Software Entwicklung Mobile- / App-Entwicklung
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-80181-624-7 / 1801816247
ISBN-13 978-1-80181-624-3 / 9781801816243
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Jürgen Sieben

Buch | Hardcover (2023)
Rheinwerk (Verlag)
89,90
Das große Handbuch zum JavaScript-Framework

von Christoph Höller

Buch | Hardcover (2022)
Rheinwerk (Verlag)
39,90