onDestroy

open fun onDestroy()

Tie into your activity onDestroy method