https://kotlinlang.org logo
#android
Title
# android
z

zsperske

10/02/2020, 5:22 PM
If Fragment's
onStart
is always called (even when you've backgrounded the app and returned) what is its purpose? How do you do something only once after a fragment's view is created?
stackoverflow 1
j

Joost Klitsie

10/02/2020, 5:26 PM
If you would go over the list of fragment lifecycle methods, what lifecycle method do you think would do things once a view is created?
z

zsperske

10/02/2020, 5:28 PM
i made the mistake of looking at the diagram in the developer docs
forgetting that there are more methods 🤦
thanks!
4 Views