Fragment Or DialogFragment Can not perform this action after onSaveInstanceState
转载:http://blog.csdn.net/chenshufei2/article/details/48747149
public void show(FragmentManager manager, String tag) { mDismissed = false; mShownByMe = true; FragmentTransaction ft = manager.beginTransaction(); ft.add(this, tag); ft.commit(); //注意这里使用提commit }
dialogFragment.dismissAllowingStateLoss