Package-level declarations
Types
Link copied to clipboard
interface TeamApiState
Sealed interface for the state of Team API.
Link copied to clipboard
Represents the state of the team list.
Link copied to clipboard
data class TeamOverviewState(val isAddingVisible: Boolean = false, val newAbbreviation: String = "", val newCity: String = "", val newConference: String = "", val newDivision: String = "", val newFull_name: String = "", val newName: String = "", val scrollActionIdx: Int = 0, val scrollToItemIndex: Int = 0)
Represents the state of the Team Overview screen.
Link copied to clipboard
ViewModel responsible for managing the state of the Team Overview screen.
Link copied to clipboard
Represents the state of a worker.
Functions
Link copied to clipboard
fun TeamListComponent(modifier: Modifier = Modifier, teamOverviewState: TeamOverviewState, teamListState: TeamListState)
Composable function for displaying the list of teams.
Link copied to clipboard
fun TeamOverview(modifier: Modifier = Modifier, teamOverviewViewModel: TeamOverviewViewModel = viewModel(factory = TeamOverviewViewModel.Factory), isAddingVisisble: Boolean = false, makeInvisible: () -> Unit = {})
Composable function for displaying the team overview screen.