屏蔽全览功能

This commit is contained in:
zhangyuanzhen
2020-03-17 16:27:22 +08:00
parent 931ca69902
commit f0fa2485ea
3 changed files with 44 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ public class FragmentStack {
if ( descriptor.hasTransition() ) {
mFragmentTransaction.setTransition( FragmentTransaction.TRANSIT_FRAGMENT_OPEN );
}
mFragmentTransaction.addToBackStack( null );
//mFragmentTransaction.addToBackStack( null );
mFragmentTransaction.commitAllowingStateLoss();
if ( descriptor.hasTransition() ) {
mFragmentManager.executePendingTransactions();