public interface TaskListener<Response>
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
onFailure(Task task,
Throwable e)
A failure caused by an exception at some phase of the task.
|
void |
onResponse(Task task,
Response response)
Handle task response.
|
void onResponse(Task task, Response response)
task - the task being executed. May be null if the action doesn't
create a taskresponse - the response from the action that executed the taskCopyright © 2009–2016. All rights reserved.