Package-level declarations

Types

Link copied to clipboard
data class RouteDetailsUiState(val route: RouteData? = null, val isLoading: Boolean = false, val errorMessage: String? = null)
Link copied to clipboard
class RouteDetailsViewModel @Inject constructor(routesRepository: RoutesRepository, soundscapeServiceConnection: SoundscapeServiceConnection) : ViewModel

Functions

Link copied to clipboard
fun RouteDetailsScreen(navController: NavController, routeId: ObjectId, modifier: Modifier, uiState: RouteDetailsUiState, routePlayerState: RoutePlayerState, getRouteById: (ObjectId) -> Unit, startRoute: (ObjectId) -> Unit, stopRoute: () -> Unit, clearErrorMessage: () -> Unit, userLocation: LngLatAlt?, heading: Float)
Link copied to clipboard
fun RouteDetailsScreenVM(navController: NavController, routeId: ObjectId, viewModel: RouteDetailsViewModel = hiltViewModel(), modifier: Modifier, userLocation: LngLatAlt?, heading: Float, routePlayerState: RoutePlayerState)
Link copied to clipboard
@Preview(showBackground = true)
fun RoutesDetailsEmptyPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun RoutesDetailsLoadingPreview()
Link copied to clipboard
@Preview(showBackground = true)
fun RoutesDetailsPopulatedPreview()