onDestroyViewOnce

fun Fragment.onDestroyViewOnce(block: () -> Unit): <Error class: unknown class>

Runs the given block once on the next Fragment.onDestroyView.

Return

Disposable that allows removing the observer.