detach

abstract fun detach()

Will be invoked when this Attachable is no longer part of the ComponentTree. This can be because the ComponentTree is released (and all Attachables are detached), or because this Attachable no longer appears in the ComponentTree in the most recent committed layout.