vncore / com.venuenext.vncore.model / ReInitRouter

ReInitRouter

class ReInitRouter

A router that can be used to manage ReInitListeners within app.

Constructors

<init>

A router that can be used to manage ReInitListeners within app.

ReInitRouter()

Functions

notifyListenersOfReInit

Alerts each subscribed listener of the re-init.

fun notifyListenersOfReInit(): Unit

subscribeListener

Adds a ReInitListener to the ReInitRouters stored list.

fun subscribeListener(listener: ReInitListener): Boolean

unsubscribeListener

Removes a ReInitListener from the ReInitRouters stored list.

fun unsubscribeListener(listener: ReInitListener): Boolean