I am trying to understand android activity life cycle.
Official documentation states:
Pause Your Activity:
When the system calls onPause() for your activity, it technically means your activity is still partially visible.
I created an activity and then moved to another activity using intent.During debugging I see that first activity's onPause() is indeed called.But I don't understand what does it mean for activity to be partially visible because when other activity is visible(and first activity is paused) then first activity is not visible at all.
With regards
Manish
to be partially visible is like for situation like poping a dialog themed Activity up over your Activity means that the activity is visible for user even it lost interaction with user. onPause() will run in Activity Transitions and after that when its no longer visible by user , onStop() will call.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With