ScreenDataHolder
Screen-scoped, in-memory data store — same flat/segmented shape as ApplicationDataHolder, but one fresh instance per screen, discarded when the screen leaves the back stack. Backs the server DSL's screenPlainData()/screenSegmentedData(segmentId) data sources, plus the read-only screenNavigationData() for arguments the screen was navigated to with. Reached in event execution directly as EventRunningScope.screenDataHolder — there's no get<ScreenDataHolder>() Koin lookup, since a new instance is created per screen rather than being a single app-wide binding.
Inheritors
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.