@Override public void onDestroy() { super.onDestroy(); ExampleApplication.getRefWatcher(getContext()).watch(this); }
@Override protected void onDestroyView() { super.onDestroyView(); RefWatcher watcher = ExampleApplication.getRefWatcher(this); watcher.watch(getView()); }