onDestroyView

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

Runs the given block on every Fragment.onDestroyView.

Return

Disposable that allows removing the observer.