Which method fragment becomes active?

Which method fragment becomes active?
Answer
To draw a UI for your fragment, you must return a View component from this method that is the root of your fragment’s layout. You can return null if the fragment does not provide a UI. onStart()The onStart() method is called once the fragment gets visible. onResume()Fragment becomes active.
 

Tìm kiếm

Back
Top