2025-02-17

Java代碼 
// 銷毀 protected void onDestroy() { System.out.println("onDestroy"); super.onDestroy(); } // 暫停 protected void onPause() { System.out.println("onPause"); super.onPause(); } // 重新啟動 protected void onRestart() { System.out.println("onRestart"); super.onRestart(); } // Resume protected void onResume() { System.out.println("onResume"); super.onResume(); } 

作者“Android開發”
 

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *