APIdia Launch Partner
Top Description Methods
com.badlogic.gdx

public Interface LifecycleListener

Known Direct Implementers
com.badlogic.gdx.utils.Timer.TimerThread

A LifecycleListener can be added to an 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.
Author
mzechner

Method Summary

Modifier and TypeMethod and Description
public void
dispose()

Called when the Application is about to be disposed

public void
pause()

Called when the Application is about to pause

public void
resume()

Called when the Application is about to be resumed

Method Detail

disposeback to summary
public void dispose()

Called when the Application is about to be disposed

pauseback to summary
public void pause()

Called when the Application is about to pause

resumeback to summary
public void resume()

Called when the Application is about to be resumed