Package-level declarations

Types

Link copied to clipboard
data class EditState(val currentSelectedTool: ActionType = ActionType.NONE, val lastSelectedTool: ActionType = ActionType.NONE, val currentSelectedTracks: MutableList<Int> = mutableListOf(), val currentSelectedPoints: MutableList<Pair<Int, Double>> = mutableListOf(), val direction: InsertPosition = InsertPosition.BACK, val version: Long = System.nanoTime())

Edition state

Link copied to clipboard
data class ProgressData(val progress: Int = 0, val isDisplayed: Boolean = false, val isDeterminate: Boolean = false, val message: String? = null)

Progress bundle

Link copied to clipboard
sealed class SelectionResult
Link copied to clipboard
data class SimpleWaypoint(val id: Double, val lat: Double, val lng: Double)

Domain model representing a single waypoint (GPS point) in a track. Used to represent waypoint for the UI

Link copied to clipboard
data class UiMapState(val selectedTrackIds: MutableList<Int>, val selectedPoints: MutableList<Pair<Int, Double>>)

Edit state meant for UI

Link copied to clipboard
sealed class WaypointUpdate

Types of waypoint updates