PublicTransportBriefRouteViewModel
ViewModel for a route summary.
Provides essential route information at a glance and handles user interactions with the card.
Implementations may hold resources (e.g., coroutine scopes for async schedule loading). Call close when the ViewModel is no longer needed to release them.
Inheritors
Properties
Timezone of the route's destination point.
Current expansion state of the route card. When true, the card displays detailed information (e.g., full schedule, transfer details). When false, only brief summary is shown (e.g., total duration, arrival time, total fare).
Ordered list of route segments that together form the complete journey. Each element represents a contiguous part of the route between two points. The sequence follows chronological order from departure to arrival.
Schedule groups for the first public transport segment.
Total travel duration from start to end of the route. Excludes waiting times and transfer times.