use of cn.feng.skin.demo.fragment.ArticleListFragment in project Android-Skin-Loader by fengjundev.
the class MainActivity method initFragment.
private void initFragment() {
FragmentManager fm = getSupportFragmentManager();
Fragment fragment = fm.findFragmentById(R.id.fragment_container);
if (fragment == null) {
fragment = new ArticleListFragment();
fm.beginTransaction().add(R.id.fragment_container, fragment).commit();
}
}
Aggregations