Package org.orbitmvi.orbit
Types
Link copied to clipboard
interface ContainerDecorator<STATE : Any, SIDE_EFFECT : Any> : Container<STATE, SIDE_EFFECT>
Content copied to clipboard
A decorator applying additional logic to a Container.
Link copied to clipboard
Apply this interface to anything you want to become an orbit container host. Typically this will be an Android ViewModel but it can be applied to simple presenters etc.
Link copied to clipboard
data class RealSettings(sideEffectBufferSize: Int, idlingRegistry: IdlingResource, eventLoopDispatcher: <ERROR CLASS>, intentLaunchingDispatcher: <ERROR CLASS>, exceptionHandler: <ERROR CLASS>?, repeatOnSubscribedStopTimeout: Long)
Content copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun <STATE : Any, SIDE_EFFECT : Any> <ERROR CLASS>.container(initialState: STATE, buildSettings: SettingsBuilder.() -> Unit = {}, onCreate: (STATE) -> Unit? = null): Container<STATE, SIDE_EFFECT>
Content copied to clipboard
Content copied to clipboard
Helps create a concrete container in a standard way.