FragmentContainerView

Satya Pavan Kantamani
3 min readJul 1, 2020

Learn how to add fragments into FragmentContainerView

Photo by Markus Winkler on Unsplash

History

Usually in Android, before NavGraph if we want to add a fragment dynamically we used to add container layout mostly FrameLayout in the XML and then add the required instance to the container using fragment manager. We used to use different kinds of layouts before but none of these layouts are optimized for fragment transactions or…

--

--

Satya Pavan Kantamani

Android Dev, Interested in Traveling, App development. Based in Hyderabad, India. Catch me at https://about.me/satyapavankumar