public abstract class RxController extends Controller implements ControllerLifecycleProvider
Controller that can be used to expose lifecycle events using RxJava| Constructor and Description |
|---|
RxController() |
RxController(android.os.Bundle args) |
| Modifier and Type | Method and Description |
|---|---|
<T> <any> |
bindToLifecycle()
Will bind the source until the next reasonable
ControllerEvent occurs. |
<T> <any> |
bindUntilEvent(ControllerEvent event)
Will bind the source until a specific
ControllerEvent occurs. |
<any> |
lifecycle() |
public RxController()
public RxController(android.os.Bundle args)
public final <any> lifecycle()
lifecycle in interface ControllerLifecycleProvidercom.bluelinelabs.conductor.Controller lifecycle eventspublic final <T> <any> bindUntilEvent(ControllerEvent event)
ControllerLifecycleProviderControllerEvent occurs.bindUntilEvent in interface ControllerLifecycleProviderevent - The ControllerEvent that should cause onComplete to be calledrx.Observable.Transformer that will call onComplete when the event occurs.public final <T> <any> bindToLifecycle()
ControllerLifecycleProviderControllerEvent occurs.bindToLifecycle in interface ControllerLifecycleProviderrx.Observable.Transformer that will call onComplete when the event occurs.