This commit is contained in:
wangcongtao
2020-01-10 11:51:57 +08:00
parent 8decd42f67
commit 5510ecd57f
11 changed files with 88 additions and 20 deletions

View File

@@ -137,6 +137,7 @@ public class FragmentStack {
mFragmentTransaction.remove( descriptor.getFragment() );
}
mFragmentTransaction.commitAllowingStateLoss();
mFragmentStack.clear();
mCurrentFragment = null;
if ( getFragmentStackTransactionListener() != null ) {
getFragmentStackTransactionListener().onTransaction();