当我们在Activity中添加一个Fragment时,我们通常会使用TAG作为它的id。
getFragmentManager().beginTransaction()
.add(containerResource, fragment, fragmentTAG).
当我们在Activity中添加一个Fragment时,我们通常会使用TAG作为它的id。
getFragmentManager().beginTransaction()
.add(containerResource, fragment, fragmentTAG).