how can i check in onPause if onStop will not be called?
<p>i have to set a flag in onPause only if onPause will not be followed by onStop.
e.g. when my activity is not in front but partially visible.how can i do it?</p>
