- Reactive Programming in Kotlin
- Rivu Chakraborty
- 144字
- 2021-07-02 22:26:37
Downloading and setting up RxKotlin
You can download and build RxKotlin from GitHub (https://github.com/ReactiveX/RxKotlin). I do not require any other dependencies. The documentation on the GitHub wiki page is well structured. Here's how you can check out the project from GitHub and run the build:
$ git clone https://github.com/ReactiveX/RxKotlin.git $ cd RxKotlin/ $ ./gradlew build
You can also use Maven and Gradle, as instructed on the page.
For Gradle, use the following compile dependency:
compile 'io.reactivex.rxjava2:rxkotlin:2.x.y'
For Maven, use this dependency:
<dependency> <groupId>io.reactivex.rxjava2</groupId> <artifactId>rxkotlin</artifactId> <version>2.x.y</version> </dependency>
This book targets RxKotlin 2.x, so remember to use io.reactive.rxjava2 instead of io.reactivex.rxkotlin, as the latter one is for RxKotlin 1.x.
Note that we are using RxKotlin version 2.1.0 for this book.
Now, let's take a look at what RxKotlin is all about. We will begin with something well-known and, gradually, we will get into the secrets of the library.
- 漫話大數據
- Python絕技:運用Python成為頂級數據工程師
- Hands-On Machine Learning with Microsoft Excel 2019
- Creating Dynamic UIs with Android Fragments(Second Edition)
- Ceph源碼分析
- 大數據架構商業之路:從業務需求到技術方案
- INSTANT Android Fragmentation Management How-to
- IPython Interactive Computing and Visualization Cookbook(Second Edition)
- Solaris操作系統原理實驗教程
- 信息融合中估計算法的性能評估
- 數據中心經營之道
- MySQL數據庫應用與管理
- 推薦系統全鏈路設計:原理解讀與業務實踐
- Oracle 11g數據庫系統設計、開發、管理與應用
- Python數據可視化之matplotlib精進