聪明出于勤奋,天才在于积累

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

boolean android.app.Activity.isFinishing()           Added in API level 1

Check to see whether this activity is in the process of finishing, either because you called finish on it or someone else has requested that it finished. This is often used in onPause to determine whether the activity is simply pausing or completely finishing.

 

public boolean isDestroyed()       Added in API level 17

Returns true if the final onDestroy() call has been made on the Activity, so this instance is now dead.

 

 

 

 

 

 

 

 

 

 

 

 

posted on 2014-04-21 15:36    阅读(2494)  评论(0编辑  收藏  举报