我有一个抽屉导航:
private void DisplayView (int position) {
Fragment fragment = null;
switch (position) {
case 0:
fragment = new Fragment1();
break;
case 1:
fragment = new Fragment2();
break;
case 2:
...
从一个活动我可以抛出那个片段(例如fragment2)?使用BeginTransaction?
由于