Create an Android application that displays steps information from Fitbit Mock API.
Build your UI according to this mock: https://drive.google.com/file/d/0B64OB33WYv7JMG1Mb2VBdUJWanc/view
The app should:
- Fetch today's data from API on app start
- Fetch today's data from API periodically while app is in foreground
- Persist data to database
- Display list of historical step data
- Pre-fetch data as user scroll through the list of historical step data
- Don't be too concerned with satisfying all requirements above. We're more interested in seeing how you solve problems and your work style given the time constraint.
- Write production quality code with an emphasis on maintainability
- Write tests
- Refactor existing code if necessary
- It's OK to use Google or other online resources
- It's OK to use 3rd party libraries
- If done, push your solution as a new branch