@Override
 public void onDestroyView() {
   if (chatheadView != null) {
     chatheadView.tearDown();
   }
   chatheadView = null;
   if (hideChatheadHandler != null) {
     hideChatheadHandler.removeCallbacks(null);
     hideChatheadHandler = null;
   }
   notificationDisplayPrioritizer = null;
   super.onDestroyView();
 }
 @Override
 public void onStart() {
   super.onStart();
   getStoreFactory().getInAppNotificationStore().addInAppNotificationObserver(this);
 }
 @Override
 public void onStop() {
   getStoreFactory().getInAppNotificationStore().removeInAppNotificationObserver(this);
   super.onStop();
 }
 @Override
 protected void onPostAttach(Activity activity) {
   super.onPostAttach(activity);
   hideChatheadHandler = new Handler(Looper.getMainLooper());
   notificationDisplayPrioritizer = new NotificationDisplayPrioritizer();
 }