FragmentContainerView
3 min readJul 1, 2020
Learn how to add fragments into FragmentContainerView
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…