- 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.
- 計算機組成原理與接口技術:基于MIPS架構實驗教程(第2版)
- 計算機信息技術基礎實驗與習題
- Oracle RAC 11g實戰指南
- UDK iOS Game Development Beginner's Guide
- Creating Dynamic UIs with Android Fragments(Second Edition)
- Python數據分析:基于Plotly的動態可視化繪圖
- WS-BPEL 2.0 Beginner's Guide
- 大話Oracle Grid:云時代的RAC
- 數據革命:大數據價值實現方法、技術與案例
- 辦公應用與計算思維案例教程
- Visual Studio 2013 and .NET 4.5 Expert Cookbook
- 云原生架構:從技術演進到最佳實踐
- 掌中寶:電腦綜合應用技巧
- 數字化轉型方法論:落地路徑與數據中臺
- 數據庫技術與應用:SQL Server 2008