Kotlin Coroutines by Tutorials, 2nd Edition

Kotlin Coroutines by Tutorials, 2nd Edition
出版时间:2019
官网链接:RayWenderlich
下载地址:百度网盘(PDF+EPUB+CODE)
提取码    :fm22

内容简介:

Up to date for Kotlin 1.3

Android is inherently asynchronous and event-driven, with strict requirements as to on which thread certain things can happen.

Learn how to use Kotlin coroutines to solve common Android programming problems using asynchronous programming techniques!

The importance of concurrency is discovered quite early on by people who start with Android development. Android is inherently asynchronous and event-driven, with strict requirements as to on which thread certain things can happen.

Add to this the often-cumbersome Java callback interfaces, and you will be trapped in spaghetti code pretty quickly (aptly termed as “Callback Hell”). No matter how many coding patterns you use to avoid that, you will have to encounter the state change across multiple threads in one way or the other.

The only way to create a responsive app is by leaving the UI thread as free as possible, letting all the hard work be done asynchronously by background threads.

Kotlin Coroutines by Tutorials will teach you the techniques you need to solve common programming problems using asynchronous programming.

给TA买糖
共{{data.count}}人
人已赞赏
电子书

Kubernetes Best Practices

2019-11-29 7:32:03

电子书

Reactive Programming with Kotlin

2019-11-30 20:43:45

搜索