Android Studio offers to replace a <fragment>
tag in Google Maps
fragment. In an application I don't have Navigation
, but probably will add. Should I replace the <fragment>
tag with <FragmentContainerView>
?
Looking at https://proandroiddev.com/android-fragments-fragmentcontainerview-292f393f9ccf I found that we can also replace <FrameLayout>
with <androidx.fragment.app.FragmentContainerView>
. Should we do so?
<FragmentContainerView... is meant to replace both <FrameLayout... and <Fragment... Refer to this answer on a similar question.