onHostDestroy

open fun onHostDestroy(@Nullable activity: Activity)

Call this from onDestroy. This notifies any listening modules so they can do any necessary cleanup. If the activity being destroyed is not the current activity, no modules are notified.

Parameters

activity

the activity being destroyed


open fun onHostDestroy()

Deprecated

Call this from onDestroy. This notifies any listening modules so they can do any necessary cleanup.

Deprecated

use onHostDestroy instead