public class RxControllerLifecycle
extends java.lang.Object
| Constructor and Description |
|---|
RxControllerLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.trello.rxlifecycle2.LifecycleTransformer<T> |
bindController(io.reactivex.Observable<ControllerEvent> lifecycle)
Binds the given source to a Controller lifecycle.
|
public static <T> com.trello.rxlifecycle2.LifecycleTransformer<T> bindController(@NonNull
io.reactivex.Observable<ControllerEvent> lifecycle)
com.trello.rxlifecycle2.android.RxLifecycleAndroid#bindFragment(Observable).lifecycle - the lifecycle sequence of a ControllerObservableTransformer that unsubscribes the source during the Controller lifecycle