Ejemplo n.º 1
0
 @Override
 public void onResponse(Object response) {
   executionCallback.onResponse(toObject(response));
 }
Ejemplo n.º 2
0
 @Override
 public void onFailure(Throwable t) {
   executionCallback.onFailure(t);
 }
 private void notifyCallback(boolean result) {
   if (callback != null) {
     callback.onResponse(result);
   }
 }