Exemplo n.º 1
0
 /*
  * (non-Javadoc)
  *
  * @see android.os.AsyncTask#onPreExecute()
  */
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   if (isShowWaitingDialog) listener.before();
 }
Exemplo n.º 2
0
 /*
  * (non-Javadoc)
  *
  * @see android.os.AsyncTask#onPostExecute(java.lang.Object)
  */
 @Override
 protected void onPostExecute(String result) {
   // Call method to process http status code and response
   listener.after(statusCode, response);
 }