Which activity lifecycle method gets called whenever a dialog opens on screen?
Asked
7 years ago
Viewed
537 times
Which activity lifecycle method gets called whenever a dialog opens on screen?
1 Answer
Whenever a dialog opens on your application the activity calls the onPause() method. This ensures that user is not doing anything with previous activity.