Advertisement
Spa_m

android lifecycle log

Mar 12th, 2018
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.88 KB | None | 0 0
  1.  
  2.     @Override
  3.     protected void onResume() {
  4.         super.onResume();
  5.         Log.i(getResources().getString(R.string.LOGCAT_TAG), "SA onResume: I'm being called");
  6.  
  7.     }
  8.  
  9.     @Override
  10.     protected void onRestart() {
  11.         super.onRestart();
  12.         Log.i(getResources().getString(R.string.LOGCAT_TAG), "SA onRestart: I'm being called");
  13.  
  14.     }
  15.  
  16.     @Override
  17.     protected void onDestroy() {
  18.         super.onDestroy();
  19.         Log.i(getResources().getString(R.string.LOGCAT_TAG), "SA onDestroy: I'm being called");
  20.  
  21.     }
  22.  
  23.     @Override
  24.     protected void onStop() {
  25.         super.onStop();
  26.         Log.i(getResources().getString(R.string.LOGCAT_TAG), "SA onStop: I'm being called");
  27.  
  28.     }
  29.  
  30.     @Override
  31.     protected void onPause() {
  32.         super.onPause();
  33.         Log.i(getResources().getString(R.string.LOGCAT_TAG), "SA onPause: I'm being called");
  34.  
  35.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement