Kotlin Coroutines by Tutorials: Mastering coroutines in Kotlin and Android


Kotlin Coroutines by Tutorials (First Edition): Mastering coroutines in Kotlin and Android
Authors: raywenderlich Tutorial Team - Filip Babić - Nishant Srivastava
ISBN-10 书号: 1942878680
ISBN-13 书号: 9781942878681
Publisher Finelybook 出版日期: 2019-04-26
pages 页数: 315 pages


Book Description
Learn Coroutines in Kotlin and Android!
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.
Topics Covered in This Book
Asynchronous programming: Learn what asynchronous programming means and how to achieve it using not blocking calls.
Configuration: Learn how to configure IntelliJ and Android Studio in order to use Coroutine APIs.
Coroutine principles**: Learn what coroutines and launching builders are and how to manage Job dependencies.
Suspending functions: This is the main concept around coroutines and you’ll learn how to declare a suspending function and how to deal with results.
Sequences and Iterators: Learn how to manage theoretically infinite collections of data in an efficient way using Sequences,Iterators and the yield function.
Thread communication techniques**: Learn how different tasks can communicate using Channels,Actors,and specific coroutine operators.
And much more,including benchmarks,Broadcast Channels,State machines!
One thing you can count on: After reading this book,you’ll be prepared to take advantage of all the improvements coroutines have to offer!
Contents: Overview
Early Access Edition 11
What You Need 12
Book License 13
Book Source Code & Forums 14
Chapter 1: What Is Asynchronous Programming? 15
Chapter 2: Setting Up Your Build Environments 30
Chapter 3: Getting Started with Coroutines 42
Chapter 4: Suspending Functions 53
Chapter 5: Async/Await 54
Chapter 6: Building Sequences & Iterators with
Yield 55
Chapter 7: Coroutine Contexts & Dispatchers 56
Chapter 8: Exception Handling & Cancellation 57
Chapter 9: Coroutines as State Machines 77
Chapter 10: Channels 78
Chapter 11: Producers & Actors 79
Chapter 12: Broadcast Channels 80
Chapter 13: Coroutine Operators 81
Chapter 14: Coroutines & RxKotlin Comparison 82
Chapter 15: Coroutines on Android: Part 1 83
Chapter 16: Coroutines on Android: Part 2 123
Chapter 17: Coroutines on Android: Part 3 124
More Books You Might Enjoy 125

下载地址:

Kotlin Coroutines by Tutorials 9781942878681.pdf

打赏
未经允许不得转载:finelybook » Kotlin Coroutines by Tutorials: Mastering coroutines in Kotlin and Android

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏