Activity真正显示后回调onPostCreate方法

来源:互联网 发布:睡衣推荐 知乎 编辑:程序博客网 时间:2024/06/14 01:37


http://www.lephone.net/thread-5027-1-1.html


http://stackoverflow.com/questions/20639464/actionbaractivity-with-actionbardrawertoggle-not-using-drawerimageres



  1. protected void onPostCreate (Bundle savedInstanceState)


  2. Called when activity start-up is complete (after onStart() and onRestoreInstanceState(Bundle) have been called). Applications will generally not implement this method; it is intended for system classes to do final initialization after application code has run.
  3. Derived classes must call through to the super class's implementation of this method. If they do not, an exception will be thrown.
  4. Parameters

  5. savedInstanceState        If the activity is being re-initialized after previously being shut down then this Bundle contains the data it most recently supplied in onSaveInstanceState(Bundle)

0 0