Answer the question
In order to leave comments, you need to log in
Difference between fragment and FragmentContainerView tags?
All the time it is highlighted in yellow, and I do not understand why I should change the simple fragment tag to FragmentContainerView. What are their differences?
Answer the question
In order to leave comments, you need to log in
The main difference is that FragmentContainerView will allow you to dynamically replace fragment at runtime while fragment will not.
And from this it already dances, there are all sorts of bells and whistles about the z-order to draw during the animation in the correct order.
PS fragment is really a tag, and FragmentContainerView is exactly a view, an analogue of FrameLayout.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question