Skip to main content

Mad Mirrajabi

RxContacts 2

Table of Contents

This is an Android library to fetch contacts using RxJava2, based on the original RxContacts library.

Get it from my GitHub page: https://github.com/mirrajabi/rx-contacts2

## Usage Example

RxContacts.fetch(this)
          .filter(m -> m.getInVisibleGroup() == 1)
          .toSortedList(Contact::compareTo)
          .observeOn(Schedulers.io())
          .subscribeOn(AndroidSchedulers.mainThread())
          .subscribe(contacts -> {
              // Do something...
          });