public interface LifecycleListener
Application via Application.addLifecycleListener(LifecycleListener). It
will receive notification of pause, resume and dispose events. This is mainly meant to be used by extensions that need to
manage resources based on the life-cycle. Normal, application level development should rely on the ApplicationListener
interface.
The methods will be invoked on the rendering thread. The methods will be executed before the ApplicationListener
methods are executed.| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Called when the
Application is about to be disposed |
void |
pause()
Called when the
Application is about to pause |
void |
resume()
Called when the Application is about to be resumed
|
void pause()
Application is about to pausevoid resume()
void dispose()
Application is about to be disposed