forked from hussien89aa/AndroidTutorialForBeginners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
liveCycle.java
29 lines (24 loc) · 770 Bytes
/
liveCycle.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
protected void onStart(){
super.onStart();
Toast.makeText(this,"OnStart",Toast.LENGTH_LONG).show();
}
protected void onRestart(){
super.onRestart();
Toast.makeText(this,"onRestart",Toast.LENGTH_LONG).show();
}
protected void onResume(){
super.onResume();
Toast.makeText(this,"onResume",Toast.LENGTH_LONG).show();
}
protected void onPause(){
super.onPause();
Toast.makeText(this,"onPause",Toast.LENGTH_LONG).show();
}
protected void onStop(){
super.onStop();
Toast.makeText(this,"onStop",Toast.LENGTH_LONG).show();
}
protected void onDestroy(){
super.onDestroy();
Toast.makeText(this,"onDestroy",Toast.LENGTH_LONG).show();
}