use of io.reactivex.disposables.CompositeDisposable in project seven_develop by seven123456.
the class RxLifeManager method setCompositeDisposableOnStop.
public void setCompositeDisposableOnStop(@NonNull Disposable s) {
if (compositeDisposableOnStop != null) {
compositeDisposableOnStop.add(s);
} else {
compositeDisposableOnStop = new CompositeDisposable();
compositeDisposableOnStop.add(s);
}
}
Aggregations