This commit is contained in:
wangcongtao
2020-01-08 11:18:39 +08:00
parent b0cf11bba0
commit 0099781b6a

View File

@@ -89,7 +89,7 @@ public class FragmentStack {
} else {
mFragmentStack.pop();
if ( !mFragmentStack.isEmpty() ) {
Fragment fragment = mFragmentStack.pop();
Fragment fragment = mFragmentStack.peek();
if ( fragment != null ) {
mFragmentTransaction.show( fragment );
mFragmentTransaction.commitAllowingStateLoss();