visibilityChangeListener

fun View.visibilityChangeListener(onVisibility: (isVisible: Boolean) -> Unit)