Jump to ratings and reviews
Rate this book

Kotlin Coroutines by Tutorials: Mastering coroutines in Kotlin and Android

Rate this book
Executing background tasks has always been a big challenge in every environment and, in particular, on mobile devices where resources are limited. Kotlin has simplified the way you can write code improving your productivity with a new programming paradigm, enhancing object-oriented and functional programming with with simple, powerful and new constructs. Coroutines are one of these! This book is for intermediate Kotlin or Android developers who already know the basics of UI development but want to learn coroutine API in order to simplify and optimize their code. One thing you can count After reading this book, you’ll be prepared to take advantage of all the improvements coroutines have to offer! The Tutorial Team is a group of app developers and authors who write tutorials at the popular website raywenderlich.com. We take pride in making sure each tutorial we write holds to the highest standards of quality. We want our tutorials to be well written, easy to follow, and fun. If you've enjoyed the tutorials we've written in the past, you're in for a treat. The tutorials we've written for this book are some of our best yet - and this book contains detailed technical knowledge you simply won't be able to find anywhere else.

315 pages, Paperback

Published April 26, 2019

7 people are currently reading
28 people want to read

About the author

Ray Wenderlich

99 books18 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
6 (33%)
4 stars
6 (33%)
3 stars
4 (22%)
2 stars
0 (0%)
1 star
2 (11%)
Displaying 1 - 5 of 5 reviews
Profile Image for Stefan Kanev.
125 reviews235 followers
December 9, 2021
Want to really learn coroutines in Kotlin? Find another resource.

The first few chapters that introduce the subject are meandering, lack clarity of thought or sufficient substance. Instead of attempting to write a cohesive narrative on a complicated subject, the authors just choose to throw random words at you until you get tired, only to occasionally show you an inconsequential piece of code to remind you that you are reading a book on programming. Things are messy and in a weird order, which is pretty ironic for a book on concurrency.

Just go read the docs. They don’t provide a gentle introduction, but neither does this book.
Profile Image for José.
45 reviews1 follower
April 22, 2020
A great resource for the ones looking to fully understand Kotlin Coroutines API. Very well structured and explained with a lot of hands-on code which gives us full insight while allowing amusement while learning something new.
Profile Image for Sergey Pinkevich.
31 reviews1 follower
April 4, 2022
This book needs a good editor before you can read it

I like some ideas from the book. For example, when the authors started to explain all ways how multithreading can be done on Android (AsyncTask, Handler, IntentService, etc). But maybe this task was too challenging but there is more ambiguity than clarity.

It starts with a lot of words in bold font. Looks like it should be explained, but sometimes the explanation is absent, or just rephrasing the definition like reactive programming is a programming that uses a reactive approach. I really felt a lack of some foundation, and despite I have some experience with coroutines this book brought me more doubts than clarity.

This book has a lot of mistakes. For example, when Service is described there is said that you need to call stopService() method, and just after that that neither "started" nor "bound" service don't require it - it will finish itself after making work (page 284 in my edition). Also, ambiguity about IntentService - does it work with multithreading or not. So, it can handle a few threads at a time (putting them into a queue), but not execute all of them at a time.

Also, there are a lot of typos, and quite often items in the list repeat themselves (page 309, items 2, 3, 4 and 7, 8, 9 are exactly the same). It looks like the authors needed some page amount and just put more text to fill the empty space. For example, in the chapter about Android multithreading, they provided 2 screenshots per each state (around 10 times), despite the screen didn't change that much.

I like some ideas of explanation - about delivery robots in Chapter 13, it was quite an interesting and challenging task, but most of the book is just typos and very ambiguous explanations that left you with feeling that you want to know more about the subject. In that case, it is a very inspirational book, since you didn't get the answer to how coroutines work and you are seeking it in the documentation and other resources on the Internet
Profile Image for Nicola Corti.
6 reviews
October 26, 2020
Great book to learn Kotlin Coroutines from the ground up with a lot of practical examples.
Profile Image for Todor.
75 reviews10 followers
May 20, 2021
Raywenderlich is a good investment in your development as a mobile developer
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.