Activity life cycle normally
onCreate ->
onStart ->
This method LayoutInflater.inflate
is used all the time and useful if you are developing the related of views or animations.
I think a junior Android programmer isn't often using it but I believe definitely that a senior engineer use this method every day.
Let's go to main topic. When we create a activity or a fragment or a view, we may add some sub-view into. But sometime succeed, sometimes failed.