Пример #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);
 }