@Override public void onDestroy() { super.onDestroyView(); //Calling this public method will prevent the android.support.v4.app.SuperNotCalledException when we don't immediately call the super.onDestroy - since it is in an endAction removeHeaderView(super::onDestroy); }