Package-level declarations
Types
Link copied to clipboard
class GraphEntryBuilder(screenId: String, initialTiles: TileSchemaBuilderScope.() -> Unit = {}, initialEvents: EventSchemaBuilderScope.() -> Unit = {}, failureTiles: TileSchemaBuilderScope.() -> Unit = {}, failureEvents: EventSchemaBuilderScope.() -> Unit = {}, transition: ContentTransitionSchema? = null, popTransition: ContentTransitionSchema? = null, predictivePopTransition: ContentTransitionSchema? = null) : GenericBuilder<GraphResponse.Entry>
Compiles one navigation graph entry's tiles, events and transitions into an Entry.
Link copied to clipboard
Scope collecting every Entry declared inside a dev.catbit.mosaic.server.builder.graph.Graph's entries block.
Functions
Link copied to clipboard
fun Graph(startEntryId: String, ttl: LocalDateTime? = null, defaultTransition: ContentTransitionSchema? = null, defaultPopTransition: ContentTransitionSchema? = null, defaultPredictivePopTransition: ContentTransitionSchema? = null, entries: GraphEntryBuilderScope.() -> Unit): GraphResponse
Builds a top-level navigation graph — a set of screens sharing one back stack, with the stack starting at startEntryId. This is the app's (or a screen area's) root navigator; for a back stack nested inside a single tile, use NestedNavigationGraph instead.