Edit Track Repository Impl
Implementation of the EditTrackRepository interface. This repository handles data operations related to tracks and waypoints, using the TrackDao to access the local database.
The class is injectable via Dagger/Hilt with @Inject constructor.
Functions
Link copied to clipboard
Add an imported track to the database.
Link copied to clipboard
Add a waypoint to the database. Converts the domain model Waypoint to a database entity and inserts it.
Link copied to clipboard
Add a list of waypoints to the database. Converts the domain model Waypoint to a database entity and inserts it.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Retrieve all waypoints belonging to a specific track.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Retrieve all waypoints from the database. Converts database entities back to domain models.
Link copied to clipboard
Insert a new Track entity into the database.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun renumberTrack(trackId: Int, newStart: Double, descending: Boolean, indexDescending: Boolean)
Link copied to clipboard