This Article assumes that You are familiar with the Activity Lifecycle. If not please read my last Post.
There are two more methods which come into picture when an Activity becomes partially visible.
These two Lifecycle methods are onPause and onResume. Please refer to the image and to the Video to understand this better.