-
- All Implemented Interfaces:
-
app.futured.arkitekt.rxusecases.disposables.CompletableDisposablesOwner,app.futured.arkitekt.rxusecases.disposables.FlowableDisposablesOwner,app.futured.arkitekt.rxusecases.disposables.MaybeDisposablesOwner,app.futured.arkitekt.rxusecases.disposables.ObservableDisposablesOwner,app.futured.arkitekt.rxusecases.disposables.SingleDisposablesOwner
public interface DisposablesOwner implements SingleDisposablesOwner, CompletableDisposablesOwner, ObservableDisposablesOwner, FlowableDisposablesOwner, MaybeDisposablesOwner
This interface gives your class ability to execute FlowableUseCase, SingleUseCase, CompletableUseCase, ObservableUseCase, MaybeUseCase use cases and automatically add resulting disposables to one composite disposable. You may find handy to implement this interface in custom Presenters, ViewHolders etc.
It is your responsibility to clear this composite disposable when all running tasks should be stopped.
-
-
Method Summary
Modifier and Type Method Description abstract CompositeDisposablegetDisposables()-
Methods inherited from class app.futured.arkitekt.rxusecases.disposables.DisposablesOwner
execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, executeStream, executeStream, executeStream, executeStream, executeStream -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDisposables
abstract CompositeDisposable getDisposables()
-
-
-
-