sparkweaver / MyFitnessApp

Ann application for walking, to start with.
MIT License
0 stars 0 forks source link

Refactor Architecture of AccelerometerService and StepDetector #21

Open sparkweaver opened 3 months ago

sparkweaver commented 3 months ago

The current implementation uses AccelerometerService to utilize the instance of StepDetector, which might not be how I would like it to be.

Considerations

sparkweaver commented 3 months ago

In consideration of coupling, testability, and modifiability, I refactored quite a bit and changed the instantiation and flow of data.

Modifications

Sources