RxAgera

Additional

Language
Java
Version
v0.9.1 (Apr 22, 2016)
Created
Apr 20, 2016
Updated
Oct 21, 2016
Owner
David Karnok (akarnokd)
Contributors
jameswald
David Karnok (akarnokd)
djodjoni
3
Activity
Badge
Generate
Download
Source code

Advertisement

RxAgera

Convert between RxJava and Agera reactive base types

Dependency

compile 'com.github.akarnokd:rxagera:0.9.1'

Build status

Usage

import static hu.akarnokd.rxagera.RxAgeraConverter.*;

import com.google.android.agera.*;

// .........

Observable o = toAgeraObservable(rx.Observable.just("Hello World!"));

o.addUpdatable(() -> System.out.println("Something happened!"));

// ;;;;;;

UpdateDispatcher ud = Observables.updateDispatcher();

rx.Observable rx = toRxObservable(ud);

rx.subscribe(() -> System.out.println("Something happened!"));

ud.update();