Skip to content
Android library to get contacts using RxJava
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app updated build tools and bintray publish plugin Dec 22, 2017
gradle/wrapper
rx-contacts updated build tools and bintray publish plugin Dec 22, 2017
.gitignore
LICENSE.md Update LICENSE.md May 27, 2016
README.md updated version in README.md Dec 22, 2017
build.gradle fixed version name bug Dec 22, 2017
gradle.properties
gradlew Setup first version of the project May 27, 2016
gradlew.bat Setup first version of the project May 27, 2016
settings.gradle

README.md

RxContacts

Android library to get contacts using RxJava

Current version: 1.1.4

Setup

To use this library your minSdkVersion must be >= 16.

In the build.gradle of your project add:

repositories {
    maven {
       url 'https://dl.bintray.com/ulrichraab/maven'
    }
}

In the build.gradle of your app module add:

dependencies {
    compile 'de.ulrichraab:rx-contacts:1.1.4'
}

Example

RxContacts.fetch(context)
          .subscribe(new Observer<Contact>() {
             @Override
             public void onCompleted() {
                // Loading done
             }
             @Override
             public void onError (Throwable e) {
                // Handle error
             }
             @Override
             public void onNext(Contact contact) {
                // Use the contact
             }
          });
You can’t perform that action at this time.