RouteListItem

sealed interface RouteListItem

Represents a single item in the route list.

Encapsulates the polymorphism between different route card types, allowing the list composables to render items without knowing about transport mode selection logic.

Inheritors

Types

Link copied to clipboard
data class Default(val info: RouteUiInfo) : RouteListItem

A default route card (car, pedestrian, bicycle, etc.).

Link copied to clipboard

A public transport route card.