onSaveInstanceState和onRestoreInstanceState触发的时机
摘要:先看Application Fundamentals上的一段话:Android calls onSaveInstanceState() before the activity becomes vulnerable to being destroyed by the system, but does not bother calling it when the instance is actually being destroyed by a user action (such as pressing the BACK key)从这句话可以知道,当某个activity变得“容易”被系统销毁时,该
阅读全文
posted @ 2012-06-06 15:44
浙公网安备 33010602011771号