public final class RxListener<T> extends Object implements Observer<T>, FutureCallback<T>
Modifier and Type | Method and Description |
---|---|
boolean |
isLogging()
Returns true iff the given Rx is a logging Rx.
|
void |
onComplete() |
void |
onError(Throwable e) |
void |
onErrorDontLog(Throwable e) |
void |
onFailure(Throwable e) |
void |
onNext(T t) |
void |
onSubscribe(Disposable d) |
void |
onSuccess(T result) |
public void onSubscribe(Disposable d)
onSubscribe
in interface Observer<T>
public void onComplete()
onComplete
in interface Observer<T>
public final void onSuccess(@Nullable T result)
onSuccess
in interface FutureCallback<T>
public final void onFailure(Throwable e)
onFailure
in interface FutureCallback<T>
public void onErrorDontLog(Throwable e)
public boolean isLogging()