Name: RxT4A
Owner: Cookpad Inc.
Description: DEPRECATED
Created: 2015-07-11 07:02:45.0
Updated: 2018-04-02 03:57:18.0
Pushed: 2016-01-31 14:43:40.0
Homepage: https://bintray.com/cookpad/maven/RxT4A/view
Size: 105
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
RxT4A - RxJava Toolbox for Android
ndroidSchedulers
duler scheduler = AndroidSchedulers.mainThread();
duler scheduler = AndroidSchedulers.from(new Handler());
ndroidCompositeSubscription
l AndroidCompositeSubscription s = new AndroidCompositeSubscription();
d(subscription1);
d(subscription2);
subscribe(); // unsubscribe 1 and 2
t is reusable!
d(subscription3);
d(subscription4);
subscribe(); // unsubscribe 3 and 4, too!
peratorAddToCompositeSubscription
rvable.just("foo")
.lift(new OperatorAddToCompositeSubscription<String>(s))
.delay(5, TimeUnit.MILLISECONDS)
.subscribe(...);
subscribe(); // unsubscribe the above subscription
This is a fork of RxAndroid.
This is almost the same as RxAndroid's AndroidSchedulers
.
This is a variation of CompositeSubscription
but can be reused multiple times.
Add a subscription to AndroidCompositeSubscription
in operator chains.
This class provides a way to create subscriptions for Android applications.
cription subscription = observable.subscribe(subscriber);
ike Subscriptions.create(Action0), but the action is called on the main thread.
cription.add(AndroidSubscriptions.unsubscribeOnMainThread(new Action0() {
@Override
public void call() {
// You can touch touch views.
}
ndencies {
compile 'com.cookpad.android.rxt4a:rxt4a:1.0.0'
The MIT License
Cookpad Inc.