Skip to content

neha1903/FrameLayoutFragment

Repository files navigation

FrameLayoutFragment

Display a Custom fragment in Frame Layout

            FragmentManager fragmentManager = getSupportFragmentManager();
            FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
            CustomFragment hello = new CustomFragment();
            fragmentTransaction.add(R.id.fragment_container, hello, "HELLO");
            fragmentTransaction.commit();

Releases

No releases published

Packages

No packages published

Languages