Package-level declarations
The different scripts and functions used to draw the UI of the app
Types
Link copied to clipboard
Different main screens
Link copied to clipboard
data class EconoShowUiState(val currentMachineType: <Error class: unknown class>, val currentMachine: <Error class: unknown class>, val currentInformationSubScreenIndex: Int, val afkTimer: Job?)
The Ui State class for the app
Link copied to clipboard
The View Model of the App
Functions
Link copied to clipboard
The subscreen view for the InformationScreen that shows the selected Machine's brochure
Link copied to clipboard
fun EconoShowApp(windowSize: WindowWidthSizeClass, navController: NavHostController = rememberNavController(), modifier: Modifier = Modifier)
The main app
Link copied to clipboard
fun EconoShowAppBar(canNavigateBack: Boolean, navigateUp: () -> Unit, currentScreen: EconoShowScreen, modifier: Modifier = Modifier)
The top bar of the app
Link copied to clipboard
The first screen that is displayed when launching the app
Link copied to clipboard
fun InformationScreen(machine: <Error class: unknown class>, subScreenIndex: Int = 0, onSegmentedButtonClick: (Int) -> Unit, modifier: Modifier = Modifier)
Displays all the information on a Machine
Link copied to clipboard
The subscreen view for the InformationScreen that shows the selected Machine's layouts
Link copied to clipboard
fun MachinesScreen(machines: List<<Error class: unknown class>>, onMachineButtonClicked: (<Error class: unknown class>) -> Unit = {}, modifier: Modifier = Modifier)
Shows the different Machines in the com.example.econoshow.data.LocalEconoShowDataProvider
Link copied to clipboard
fun MachineTypesScreen(machineTypes: List<<Error class: unknown class>>, onMachineTypeButtonClicked: (<Error class: unknown class>) -> Unit = {}, modifier: Modifier = Modifier)
Shows the different MachineTypes in the com.example.econoshow.data.LocalEconoShowDataProvider
Link copied to clipboard
The subscreen view for the InformationScreen that shows the selected Machine's Videos