-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Button click for save and delete trip
- Loading branch information
1 parent
416c970
commit 9ddf74d
Showing
7 changed files
with
89 additions
and
57 deletions.
There are no files selected for viewing
9 changes: 3 additions & 6 deletions
9
...ate/src/main/kotlin/xyz/ksharma/krail/trip/planner/ui/state/savedtrip/SavedTripUiEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
package xyz.ksharma.krail.trip.planner.ui.state.savedtrip | ||
|
||
import xyz.ksharma.krail.trip.planner.ui.state.searchstop.model.StopItem | ||
import xyz.ksharma.krail.trip.planner.ui.state.timetable.Trip | ||
|
||
sealed interface SavedTripUiEvent { | ||
data object LoadSavedTrips : SavedTripUiEvent | ||
data class SavedTripClicked(val savedTrip: String) : SavedTripUiEvent | ||
data class DeleteSavedTrip(val savedTrip: String) : SavedTripUiEvent | ||
data class OnSearchButtonClicked(val fromStopItem: StopItem, val toStopItem: StopItem) : | ||
SavedTripUiEvent | ||
data class SavedTripClicked(val trip: Trip) : SavedTripUiEvent | ||
data class DeleteSavedTrip(val trip: Trip) : SavedTripUiEvent | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters