onDestroy

fun onDestroy()

Callback method which should be called when the parent lifecycle aware component is being destroyed.