@Override public void onDestroy() { dispatcher.close(); dispatcher = null; super.onDestroy(); }
@Override public void onResume() { super.onResume(); dispatcher.resume(); }
@Override public void onPause() { dispatcher.pause(); super.onPause(); }
public void setDispatcher(ContentDispatcher d) { dispatcher.close(); dispatcher = d; }