-
Activity查看全部
-
老師這里一個(gè)地方寫(xiě)錯(cuò)了 Bactivity第三個(gè)onpause改為onresume查看全部
-
Activity life cycle查看全部
-
六大周期查看全部
-
Activity 啟動(dòng)電話(huà)界面查看全部
-
Activity 發(fā)送短信查看全部
-
Activity 啟動(dòng)系統(tǒng)相冊(cè)查看全部
-
Activity 啟動(dòng)瀏覽器查看全部
-
匿名啟動(dòng)Activity--查看全部
-
Activity 匿名啟動(dòng)查看全部
-
Activity的直接啟動(dòng)查看全部
-
Activity的生命周期圖示查看全部
-
protected void onSavaInstanceState(Bundle outState){ Log.i(TAG, "MainActivity onSaveInstanceState"); super.onSavaInstanceState(outState); outState.putString("name", "nate"); } private TextView textView; In onCreate 方法判斷 savadInstanceState!=null textView = (TextView)findViewById(R.id.textview1); if(savadInstanceState != null{ textView,setText(savadInstanceState.getString("name")); } 生命周期: I/nate﹕ MainActivity onCreate I/nate﹕ MainActivity onStart I/nate﹕ MainActivity onResume I/nate﹕ MainActivity onPause I/nate﹕ MainActivity onSaveInstanceState I/nate﹕ MainActivity onStop I/nate﹕ MainActivity onDestroy I/nate﹕ MainActivity onCreate I/nate﹕ MainActivity onStart I/nate﹕ MainActivity onResume查看全部
-
Activity思維導(dǎo)圖查看全部
-
匿名啟動(dòng)別的activity之intent幫助文檔查看全部
舉報(bào)
0/150
提交
取消