
📌 onCreateView()
This method is called when the fragment is added(link the appearance) to an activity for the first time.you must return a view from this method that is the root of your fragment’s layout.you can return null if the fragment does not provide a UI.