Пример #1
0
 @Override
 protected void onPostExecute(RESTClient result) {
   try {
     handler.onResponse(result.getResponse());
   } catch (Exception error) {
     Log.e("RPC Handler", result.getResponse());
     Log.e("RPC Handler", "Error on Processing Response");
     handler.onException(error);
   }
 }
Пример #2
0
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   handler.onRequest();
 }