- Design a simple two-screen fitness logging app with input validation, conditional UI, and summary display.
- Enter a fitness log (exercise name, duration, difficulty)
- Validate the inputs
- Compute calories burned (simple formula)
- Navigate to a summary screen
- Display all details + computed result
- Calories Burned = duration * difficultyMultiplier
- difficultyMultipliers:
- Easy = 4
- Medium = 6
- Hard = 8
- How to navigate from one screen to another with arguments in AppNavGraph
- Using Dropdown Menus to select from list of values and pass those values to another screen
- Use Objects to create constants for Navigation routes
- Incorporate separation of conserns in Composable Screen
Video Proof