DefaultScreenDataHolder
Default, purely in-memory ScreenDataHolder implementation — one instance per screen, built by MosaicModules.stateHolder's viewModel factory and handed navigationData at construction time (the arguments the screen was navigated to with, if any). Like DefaultApplicationDataHolder, it's two plain mutable maps with no persistence.
Parameters
the arguments this screen instance was opened with — what getNavigationData/ getAllNavigationData read from. Immutable for the screen's whole lifetime.
Functions
Every navigation argument this screen was opened with.
Every flat entry currently stored on this screen, keyed by data id.
Reads the navigation argument dataId this screen was opened with — read-only, there is no add/remove counterpart, since navigation arguments are fixed for the lifetime of a screen instance. The mechanism behind GetData's screenNavigationData() data source.
Reads the flat entry stored under dataId.
Removes the flat entry stored under dataId, if any.
Clears every flat entry on this screen.
Clears every segment on this screen entirely — every namespace, not just one.
Clears every entry within segmentId on this screen, leaving other segments untouched.