Simplifying Android Development with Coroutines and Flows

person icon Packt Publishing

Simplifying Android Development with Coroutines and Flows

Simplifying Android Development with Coroutines and Flows


This eBook includes

Formats : PDF (Read Only)

Pages : 164

ISBN : 9781801817202

Language : English

About the Book

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.

Simplifying Android Development with Coroutines and Flows

eBook Preview

Author Details

Packt Publishing

Packt Publishing

Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.

Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools.

As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.

Our students work
with the Best

Related eBooks

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us