DialogFragment.show显示的生命周期是:先执行show()方法,再执行onCreateView()方法,若有如下操作: mActivityDialogFragment.show(((FragmentActivity) mActivity).getSupportFragmentMana
参考文章 使用自定义DialogFragment出现IllegalStateException: Can not perform this action after onSaveInstanceState异常 Fragment Or DialogFragment Can not perform t