Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofrancis committed Dec 23, 2020
1 parent 93dfb41 commit 5a98046
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

[![Build Status](https://travis-ci.org/tonyofrancis/Fetch.svg?branch=v2)](https://travis-ci.org/tonyofrancis/Fetch)
[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/fetch2/images/download.svg?version=3.0.11) ](https://bintray.com/tonyofrancis/maven/fetch2/3.0.11/link)
[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/fetch2/images/download.svg?version=3.0.12) ](https://bintray.com/tonyofrancis/maven/fetch2/3.0.12/link)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Android%20Networking-blue.svg?style=flat)](https://android-arsenal.com/details/1/5196)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/tonyofrancis/Fetch/blob/master/LICENSE)

Expand Down Expand Up @@ -56,11 +56,11 @@ How to use Fetch
Using Fetch is easy! Just add the Gradle dependency to your application's build.gradle file.

```java
implementation "com.tonyodev.fetch2:fetch2:3.0.11"
implementation "com.tonyodev.fetch2:fetch2:3.0.12"
```
Androidx use:
```java
implementation "androidx.tonyodev.fetch2:xfetch2:3.1.5"
implementation "androidx.tonyodev.fetch2:xfetch2:3.1.6"
```

Next, get an instance of Fetch and request a download.
Expand Down Expand Up @@ -226,11 +226,11 @@ to use the OkHttp Downloader instead. You can create your custom downloaders
if necessary. See the Java docs for details.

```java
implementation "com.tonyodev.fetch2okhttp:fetch2okhttp:3.0.11"
implementation "com.tonyodev.fetch2okhttp:fetch2okhttp:3.0.12"
```
Androidx use:
```java
implementation "androidx.tonyodev.fetch2okhttp:xfetch2okhttp:3.1.5"
implementation "androidx.tonyodev.fetch2okhttp:xfetch2okhttp:3.1.6"
```

Set the OkHttp Downloader for Fetch to use.
Expand All @@ -252,11 +252,11 @@ If you would like to take advantage of RxJava2 features when using Fetch,
add the following gradle dependency to your application's build.gradle file.

```java
implementation "com.tonyodev.fetch2rx:fetch2rx:3.0.11"
implementation "com.tonyodev.fetch2rx:fetch2rx:3.0.12"
```
Androidx use:
```java
implementation "androidx.tonyodev.fetch2rx:xfetch2rx:3.1.5"
implementation "androidx.tonyodev.fetch2rx:xfetch2rx:3.1.6"
```

RxFetch makes it super easy to enqueue download requests and query downloads using rxJava2 functional methods.
Expand Down Expand Up @@ -292,11 +292,11 @@ added in the coming days.

Start using FetchFileServer by adding the gradle dependency to your application's build.gradle file.
```java
implementation "com.tonyodev.fetch2fileserver:fetch2fileserver:3.0.11"
implementation "com.tonyodev.fetch2fileserver:fetch2fileserver:3.0.12"
```
Androidx use:
```java
implementation "androidx.tonyodev.fetch2fileserver:xfetch2fileserver:3.1.5"
implementation "androidx.tonyodev.fetch2fileserver:xfetch2fileserver:3.1.6"
```

Start a FetchFileServer instance and add resource files that it can serve to connected clients.
Expand Down Expand Up @@ -405,11 +405,11 @@ Fetch1 Migration

Migrate downloads from Fetch1 to Fetch2 using the migration assistant. Add the following gradle dependency to your application's build.gradle file.
```java
implementation "com.tonyodev.fetchmigrator:fetchmigrator:3.0.11"
implementation "com.tonyodev.fetchmigrator:fetchmigrator:3.0.12"
```
Androidx use:
```java
implementation "androidx.tonyodev.fetchmigrator:xfetchmigrator:3.1.5"
implementation "androidx.tonyodev.fetchmigrator:xfetchmigrator:3.1.6"
```

Then run the Migrator.
Expand Down

0 comments on commit 5a98046

Please sign in to comment.