Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- protected void onStart(){
- super.onStart();
- Toast.makeText(getApplicationContext(), "onStart", Toast.LENGTH_LONG).show();
- Log.i(TAG,"onStart");
- }
- @Override
- protected void onResume(){
- super.onResume();
- Toast.makeText(getApplicationContext(), "onResume", Toast.LENGTH_LONG).show();
- Log.i(TAG,"onPause");
- }
- @Override
- protected void onStop(){
- super.onStop();
- Toast.makeText(getApplicationContext(), "onStop", Toast.LENGTH_LONG).show();
- Log.i(TAG,"onStop");
- }
- @Override
- protected void onRestart(){
- super.onRestart();
- Toast.makeText(getApplicationContext(), "onRestart", Toast.LENGTH_LONG).show();
- Log.i(TAG,"onRestart");
- }
- @Override
- protected void onDestroy(){
- super.onDestroy();
- Toast.makeText(getApplicationContext(), "onDestroy", Toast.LENGTH_LONG).show();
- Log.i(TAG,"onDestroy");
- }
- @Override
- protected void onSaveInstanceState(Bundle outState) {
- super.onSaveInstanceState(outState);
- Toast.makeText(getApplicationContext(), "onSaveInstanceState", Toast.LENGTH_LONG).show();
- Log.i(TAG, "onSaveInstanceState");
- }
- @Override
- protected void onRestoreInstanceState(Bundle savedInstanceState) {
- super.onRestoreInstanceState(savedInstanceState);
- Toast.makeText(getApplicationContext(), "onRestoreInstanceState", Toast.LENGTH_LONG).show();
- Log.i(TAG, "onRestoreInstanceState");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement