新的commitNow()AndroidN中添加的方法和支持库版本24的文档有限且有点困惑。Commitsthistransactionsynchronously.Anyaddedfragmentswillbeinitializedandbroughtcompletelytothelifecyclestateoftheirhostandanyremovedfragmentswillbetorndownaccordinglybeforethiscallreturns.Committingatransactioninthiswayallowsfragmentstobeaddedasdedi