I have a lot of variable like isOnPause
, isOnStop
, etc. When the Activity called onStop()
, I let isOnStop = true
, I want to know if there exists an official method like this.isOnPause(), this.isOnStop()
?
I have check the API reference of Activity, only see isDestroyed()
, but no isStoped(), isPaused()
.
protect final void onStop(){
isOnStop = true // I don't think this is good way to do this.
}
so, I want to know if there exists an official method like this.isOnPause(), this.isOnStop()
?