示例#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);
 }