Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 529 Bytes

README.md

File metadata and controls

29 lines (26 loc) · 529 Bytes

RxImageloader

Use RxJava to download and cache imgages

How to use

  1. Add jitpack in your root build.gradle at the end of repositories:
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
  1. Add the dependency in your app build.gradle
dependencies {
        compile 'com.github.Chaoba:RxImageloader:v1.0'
}
  1. Init RxImageLoader
RxImageLoader.init(getApplicationContext());
  1. Load image with RxImageLoader
RxImageLoader.loadImage(ImageView, url).subscribe();