Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofrancis committed Jun 27, 2019
1 parent ba0f333 commit e1e5bbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version 1.4.9
- Added new FlatMap methods
- Memory and cpu performance improvements
- Api improvements

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/dispatch/images/download.svg?version=1.4.8) ](https://bintray.com/tonyofrancis/maven/dispatch/1.4.8/link)
[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/dispatch/images/download.svg?version=1.4.9) ](https://bintray.com/tonyofrancis/maven/dispatch/1.4.9/link)
# DispatchQueue: A simple work scheduler for Java, Kotlin and Android

DispatchQueue is a simple and flexible work scheduler that schedulers work on a background or main thread in the form of a dispatch queue.
Expand Down Expand Up @@ -378,15 +378,15 @@ The above is a simple diagram on how a dispatch queue works. When you create a q

To use the DispatchQueue library in your project, add the following code to your project’s build.gradle file.
```java
implementation "com.tonyodev.dispatch:dispatch:1.4.8"
implementation "com.tonyodev.dispatch:dispatch:1.4.9"
```
For Android also add:
```java
implementation "com.tonyodev.dispatch:dispatch-android:1.4.8"
implementation "com.tonyodev.dispatch:dispatch-android:1.4.9"
```
To use Dispatch with Retrofit, add:
```java
implementation "com.tonyodev.dispatch:dispatch-retrofit2-adapter:1.4.8"
implementation "com.tonyodev.dispatch:dispatch-retrofit2-adapter:1.4.9"
```

Android users also have to initialize the AndroidDispatchQueues on application launch.
Expand Down

0 comments on commit e1e5bbb

Please sign in to comment.