//reactivestate/com.ensody.reactivestate.android/onStopOnce
onStopOnce¶
[android]\ fun LifecycleOwner.onStopOnce(block: () -> Unit): Disposable
Runs the given block once on the next Lifecycle.Event.ON_STOP
.
Return¶
Disposable that allows removing the observer.