public final class RxListener<T> extends Object implements Observer<T>, FutureCallback<T>
Modifier and Type | Method and Description |
---|---|
void |
onCompleted() |
void |
onError(Throwable e) |
void |
onFailure(Throwable e) |
void |
onNext(T t) |
void |
onSuccess(T result) |
public final void onCompleted()
onCompleted
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>