Activity life cycle: When a dialog is displayed on top of your activity, is your activity in foreground state or visible state?

Answer: it calls onPause()

Description:
When a dialog comes on top of an existing activity, then existing activity will move to partially invisible state by calling onPause().

No comments:

Post a Comment