open fun <S : MavericksState> BaseMvRxViewModel<S>.subscribe(deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (S) -> Unit): Disposable
Subscribes to all state updates for the given viewModel.
If UniqueOnly when this MvRxView goes from a stopped to started lifecycle a state value will only be emitted if the state changed. This is useful for transient views that should only be shown once (toasts, poptarts), or logging. Most other views should use false, as when a view is destroyed and recreated the previous state is necessary to recreate the view.
Use uniqueOnly to automatically create a UniqueOnly mode with a unique id for this view.
Default: RedeliverOnStart.