Modified the ApiCallback interface

This commit is contained in:
Nelson R. Pérez 2019-11-27 18:45:44 -05:00
parent 4a1bb69ee0
commit a8c13cac96

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.