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