-
Notifications
You must be signed in to change notification settings - Fork 296
/
Lifecycle.java
54 lines (41 loc) · 1.05 KB
/
Lifecycle.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package transapps.maps.plugin.lifecycle;
import android.app.Activity;
import android.content.res.Configuration;
import transapps.mapi.MapView;
public interface Lifecycle {
/**
* Called as part of the creation of the lifecycle. Followed immediately by onStart.
* @param activity The main ATAK activity.
* @param mapView The transapp.mapi.MapView that contains the ATAK MapView.
*/
void onCreate(Activity activity, MapView mapView);
/**
* Called after onCreate.
*/
void onStart();
/**
* Called when the application is paused.
*/
void onPause();
/**
* Called when the application is resumed.
*/
void onResume();
/**
* Called right before onDestroy.
*/
void onStop();
/**
* Called during lifecycle destruction.
*/
void onDestroy();
/**
* Called if there is a configuration change.
* @param c
*/
void onConfigurationChanged(Configuration c);
/**
* Called when the destruction is finished.
*/
void onFinish();
}