An Android example showing how to determine when certain application events happen, such as being brought to the background or foreground..
AdditionalLifecycleEvents is hosted in the following web site
https://github.com/jhauberg/AdditionalLifecycleEvents
If you think the Android project AdditionalLifecycleEvents listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of AdditionalLifecycleEvents.
Item | Value |
---|---|
Java File Count | 4 |
Target SDK Version | 14 |
Minimum SDK Version | 8 |
Activity Count | 1 |
Required Permissions | android.permission.GET_TASKS |
AdditionalLifecycleEvents has the following Java source files.
com.github.lifecycle.Lifecycle.java com.github.lifecycle.MonitoredApplication.java com.github.lifecycle.activity.Example.java com.github.lifecycle.activity.MonitoredActivity.java