Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class AddAndEditRouteUiState(val routeObjectId: ObjectId? = null, val name: String = "", val description: String = "", val nameError: Boolean = false, val descriptionError: Boolean = false, val navigateToMarkersAndRoutes: Boolean = false, val doneActionCompleted: Boolean = false, val errorMessage: String? = null, val showDoneButton: Boolean = false, val actionType: ActionType = ActionType.NONE, var routeMembers: List<LocationDescription> = emptyList(), val markers: List<LocationDescription> = emptyList())
Link copied to clipboard
class AddAndEditRouteViewModel @Inject constructor(routesRepository: RoutesRepository, soundscapeServiceConnection: SoundscapeServiceConnection) : ViewModel
Functions
Link copied to clipboard
fun AddAndEditRouteScreen(routeObjectId: ObjectId?, navController: NavController, modifier: Modifier, uiState: AddAndEditRouteUiState, placesNearbyUiState: PlacesNearbyUiState, editRoute: Boolean, userLocation: LngLatAlt?, onClearErrorMessage: () -> Unit, onResetDoneAction: () -> Unit, onNameChange: (newText: String) -> Unit, onDescriptionChange: (newText: String) -> Unit, onDeleteRoute: (ObjectId) -> Unit, onEditComplete: () -> Unit, onClickFolder: (String, String) -> Unit, onClickBack: () -> Unit, onSelectLocation: (LocationDescription) -> Unit, createAndAddMarker: (LocationDescription, String, String) -> Unit)
Link copied to clipboard
fun AddAndEditRouteScreenVM(routeObjectId: ObjectId?, navController: NavController, modifier: Modifier, userLocation: LngLatAlt?, editRoute: Boolean, viewModel: AddAndEditRouteViewModel = hiltViewModel())
Link copied to clipboard
fun AddWaypointsDialog(uiState: AddAndEditRouteUiState, placesNearbyUiState: PlacesNearbyUiState, modifier: Modifier, onAddWaypointComplete: () -> Unit, onClickFolder: (String, String) -> Unit, onClickBack: () -> Unit, onSelectLocation: (LocationDescription) -> Unit, createAndAddMarker: (LocationDescription, String, String) -> Unit, userLocation: LngLatAlt?)
Link copied to clipboard
fun AddWaypointsList(uiState: AddAndEditRouteUiState, placesNearbyUiState: PlacesNearbyUiState, onClickFolder: (String, String) -> Unit, userLocation: LngLatAlt?, onSelectLocation: (LocationDescription) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard