Use of Activity methods
-
29-10-2019 - |
Pergunta
Can someone neatly explain the use of following Activity methods :
onStart
onResume
onPause
onStop
onDestroy
onRestart
I know these are basic methods one should know while programming in Android. But frankly I have not been able to implement these methods in my applications in a wise way.
Stone
Outras dicas
You're forgetting probably the most important, onCreate. Try reading up on this: http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle
Here the official documentation: http://developer.android.com/guide/topics/fundamentals/activities.html
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow