21 JUNE 2017

RxContacts 2

Fetch your contacts using RxJava with a single line of code

This one is  an Android library to get contacts using RxJava2 based on 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...
          });