destroy

abstract fun destroy()

Initiate logic dependent on Android's onDestroy() Lifecycle event. If you added the Manager class as a lifecycleObserver, you do not need to add this class manually in your activity/fragment.