예제 #1
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   // cancel all the net work request;
   RequestManager.cancelAll(this);
 }
예제 #2
0
 // add the network request
 protected void executeRequest(Request<?> request) {
   RequestManager.addRequest(request, this);
 }