-
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.
UI: Implement DateTime selection and navigation flow (#400)
### TL;DR Added date/time selection functionality to the trip planner, allowing users to specify when they want to leave or arrive. ### What changed? - Added a new date/time selector screen with options to choose between "Leave at" or "Arrive by" - Implemented time picker and date selection with navigation between days - Added a reset option to return to "Leaving now" - Created data persistence between screens using NavController's savedStateHandle - Updated the time table screen to display the selected date/time - Removed animation from radio buttons for better performance - Increased icon button size from 24dp to 32dp ### Screenshots https://github.com/user-attachments/assets/2bde833a-a014-4892-8cdb-b6dff695d15c ### Why make this change? To provide users with more flexibility in planning their journeys by allowing them to view schedules for specific dates and times, rather than being limited to current departure times only.
- Loading branch information
1 parent
799c981
commit 45e1e6b
Showing
8 changed files
with
132 additions
and
65 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.