我想从按钮单击事件的堆栈中删除FragmentTransaction的最后两个片段。
为此,我经过的Android文档的功能,popBackStack()在那里我也得到了popBackStack()两个不同类型的参数,即popBackStack (int id,int flags)与popBackStack (String name,int flags)
根据为功能编写的android文档popBackStack (int id,int flags)是It will Pop all back stack states up to the one with the given identifier.
我应该id在popBackStack (int id,int flags)函数的地方传递什么?