Автор: Alex Sullivan
Издательство: Razeware LLC
Год: 2019
Страниц: 424
Язык: английский
Формат: pdf (true)
Размер: 41.8 MB
The book that teaches you to use RxJava, RxAndroid and RxKotlin to create complex reactive applications on Android and exercise full control over the library to leverage the full power of reactive programming in your apps.
This book aims to introduce you, the reader, to the RxJava, RxKotlin and RxAndroid libraries and to writing reactive Android apps with Kotlin. You may be asking yourself "Wait, why am I reading about RxJava when I'm using Kotlin to build Android apps?" Great question! RxJava has been around since 2013, well before Kotlin began to be accepted as a mainstream programming language, and is part of a long list of Rx-based libraries written for different platforms and systems. Since Kotlin has such excellent interopability with Java, it wouldn't make sense to completely rewrite RxJava for Kotlin — you can just use the existing RxJava library instead!
However, just because RxJava doesn't need to be completely rewritten to work in Kotlin doesn't mean that it couldn't benefit from all of the great features in the Kotlin programming language.
That's where RxKotlin comes into play. RxKotlin is a library that expands RxJava by adding a ton of utilities and extension methods that make working with RxJava much more pleasant in Kotlin. However, you absolutely do not need RxKotlin to use the RxJava library in a Kotlin-based Android app.
Скачать Reactive Programming with Kotlin (1st Edition)