arch/base/base library

Classes

BaseHolderWrapper<Instance, Input>
Base class that creates and holds some third party instance and provides methods to work with it
BaseInstancePart<Input, T extends MvvmInstance>
Base class for parts Parts are smallest mvvm instances They do not have state or dependencies But they can receive events and contain other parts inside Part also contain reference to parent instance and root parent instance of parts tree You can specify input type for part Parts must be annotated with instancePart annotation You also can execute requests and cancel them automatically when part will be disposed with ApiCaller.executeAndCancelOnDispose method
BaseInteractor<State, Input>
Main class to extend to create interactor
BaseStaticWrapper<Input>
Base class that wraps logic for working with third party dependency
EventBus
Basic Event bus implementation
EventBusReceiver
Base class that subscribe to event bus events
MvvmInstance<T>
Base class for mvvm instance
MvvmInstanceConfiguration
Model class describing configuration for basic mvvm instance
Observable<T>
Base class for observable object
ObservableChange<T>
Simple model class describing object change - next and previous values
RestrictedInstancePart<Input, T extends MvvmInstance>
BaseInstancePart that applies to given MvvmInstance subtype
StateFullInstanceSettings
Settings for statefull instance. Contain state restore flags and state id
Store<State>
Store is providing access to State for current containing class and EventBus
StoreChange<Value>
Class to hold store change
UMvvmApp<NavigationInteractorType extends BaseNavigationInteractor<dynamic, dynamic, dynamic, RoutesBase, RoutesBase, RoutesBase, dynamic, dynamic, dynamic, BaseDeepLinksInteractor>>
Main class for UMvvm application
UniversalInstancePart<Input>
BaseInstancePart that applies to every MvvmInstance subtype

Mixins

ApiCaller<Input>
Mixin containing logic to collect requests in collection and cancel them in a batch
StatefulMvvmInstance<State, Input>
Base class for storing test data

Typedefs

EventBusSubscriber<T> = void Function(T event)
LocaleCacheGetDelegate = String? Function(String name)
LocaleCachePutDelegate = Future<bool> Function(String name, String data)
StateUpdater<State> = void Function(State state)
StoreMapper<Value, State> = Value Function(State state)