-
Android Fragment应用Demo (碎片)
资源介绍
Android Fragment(碎片)应用Demo(开发工具Android Studio),主要代码:
AnotherRightFragment fragment = new AnotherRightFragment();
FragmentManager fragmentManager = getFragmentManager();
FragmentTransaction transaction = fragmentManager. beginTransaction();
transaction.replace(R.id.right_layout, fragment);
transaction.commit();
- 上一篇: Android专用驱动
- 下一篇: Android照片墙应用实现Demo