//reactivestate/com.ensody.reactivestate.android/onCreateViewOnce
onCreateViewOnce¶
[android]\ fun Fragment.onCreateViewOnce(block: () -> Unit): Disposable
Runs the given block once on the next Fragment.onCreateView
(actually onViewStateRestored
).
Return¶
Disposable that allows removing the observer.