首页 > 代码库 > Android - Fragment BackStack 清空

Android - Fragment BackStack 清空

Fragment BackStack 清空

int backStackCount = getFragmentManager().getBackStackEntryCount();for(int i = 0; i < backStackCount; i++) {       getFragmentManager().popBackStack();}

 

Android - Fragment BackStack 清空