public final class LastActivityManager extends Object
Constructor and Description |
---|
LastActivityManager(Application application)
Create and register a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
clearLastActivity()
clear saved activity
|
Activity |
getLastActivity() |
void |
waitForActivityStop(int timeOutInMillis)
wait until the last activity is stopped
|
public LastActivityManager(@NonNull Application application)
application
- the application to attach to