栈操作时遇到一个问题 getFragmentManager().beginTransaction() .replace(R.id.fl_container,bFragment) .addToBackStack(null).commitNowAllowingStateLoss(); 抛出异常: java.lang.IllegalStateException: This transaction is already being added to the back stack at androidx.…