Modified the ApiCallback interface

feat_callback_support
Nelson R. Pérez 2019-11-27 18:45:44 -05:00
parent 4a1bb69ee0
commit a8c13cac96
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ public interface ApiCallback {
* @param response Parsed response
* @param text Raw text response
*/
void onResponse(JsonRpcResponse response, String text);
<T> void onResponse(JsonRpcResponse<T> response, String text);
/**
* Method called whenever there was an error and the response could not be delivered.