onDestroy

public Unit onDestroy()

Called when the layout is destroyed.