T
- The class of the result object returned in case of success.public interface Result<T>
void onFailure(Throwable caught)
caught
- The exception or error caught.void onSuccess(T result)
result
- The result object.Copyright © 2005–2013. All rights reserved.