Hello,
I am having an issue with the checklist collection and wonder if someone can let me know if what I am trying to do is possible.
I have a gym application that I am building. It is for weightlifting. In the application, I have created a type of workout (Arms,Legs,Biceps). For each type of workout, there are several exercises (Pull Up, Curls) that have been put together as a template for the user. The issue that I am having is moving from the template to an actual workout. I would like a screen that simply shows the exercises from the template in a checklist so that as the user is performing the workout, they simply just need to check it off. I want to use a checklist collection but I can’t figure out how to move from the template to an actual workout.
Here is my table structures:
Type of Workout: Table of all workouts types (arms, legs, biceps) with a given name and row_id. This table has a related list of exercises based on row_id.
Exercises: This tables will contain a list of exercises (pull-up, chin-up)for a type of workout. They are tied to the type of workout by row_id
Workout : This is the table that has the actual workout data such as date, type and then what exercises were completed.
In my design, you click on a type of workout (arms), you will navigate to a screen that shows the exercises. If the user selects to start this workout, I would like for them to go to another screen that gives the date of the workout and then list all of the exercises. The user can just simple check them off as they complete them.
Any ideas on how I can achieve this functionality.
Thanks in advance