addListener

fun addListener(listener: OnAppStateChangedListener)