Closed Ruggero1912 closed 2 years ago
order the athletes by one (or some) of their values.
According to their training status classify the athletes and show the status as a different color in the ListView (for example).
The sorting strategy could be starting from their training status.
This issue depends on the issue https://github.com/Ruggero1912/TrainerApp/issues/15 solve that first.
now Athlete implements Comparable and a compareTo method, that is fired when an update arrives from the GATTServerService
order the athletes by one (or some) of their values.
According to their training status classify the athletes and show the status as a different color in the ListView (for example).
The sorting strategy could be starting from their training status.
This issue depends on the issue https://github.com/Ruggero1912/TrainerApp/issues/15 solve that first.