ParkingSlotsUiState

data class ParkingSlotsUiState(val parkingSlots: List<ParkingSlot>, val currentParkingSlot: ParkingSlot?, val loading: Boolean)

State of the UI of a screen displaying a group of parking slots (parkingSlots).

Parameters

parkingSlots

the parking slots to be shown to the user.

currentParkingSlot

is the current parking slot occupied by the user.

loading

whether the data are still loading.

Constructors

Link copied to clipboard
constructor(parkingSlots: List<ParkingSlot>, currentParkingSlot: ParkingSlot?, loading: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard