Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to understand meaning of 'Partially visible'

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

like image 293
Mandroid Avatar asked Feb 22 '15 11:02

Mandroid


1 Answers

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.

like image 171
Arash GM Avatar answered Oct 12 '22 13:10

Arash GM