In design section fragment is very important feature to set view as a fream you can
set diffarent diffarent view into signle window in that case you can use fragment .
Before the using of Fragment need to userstand how the fragment work , so you need to learn
fragment life cycle
below image is show the life cycle , execution follow of fragment
set diffarent diffarent view into signle window in that case you can use fragment .
Before the using of Fragment need to userstand how the fragment work , so you need to learn
fragment life cycle
below image is show the life cycle , execution follow of fragment