I'm building an android app that records workout data (exercise, reps, weights, date, etc.) in one SQLite database. I want to be able to display the data for one date sorted in a specific way. As of now, I can sort it by exercise alphabetically or by time inputed. What I want is to be able to have it so the first exercise done on top and so forth. The problem I have is if I sort by time, then if an exercise if done twice, but not consecutively, its listed as a separate exercise. I want to be able to somehow move that up in list so its grouped with the first instance of the exercise on that day.
Aucun commentaire:
Enregistrer un commentaire