doOnDetachedFromWindow

fun View?.doOnDetachedFromWindow(runnable: KRunnable?)

在视图从 Window 分离时 执行操作