Skip to content

bagelbomb/SleepTracker

Repository files navigation

Sleep Tracker

An Android application that tracks the user's sleep quality.

Submitted by: Tanner Iverson

Time spent: 3 hours

User Stories

The following required functionality is complete:

  • Create entity using Room annotations.
  • Create Data Access Object (DAO) interface.
  • Add SQL queries to Data Access Object (DAO).
  • Create a Room database.
  • Add ViewModel.
  • Implement coroutines to separate main/UI thread from other operations.
  • Add navigation and ability to record sleep quality.
  • Implement button states to prevent incorrect user choice.
  • Add Snackbar message indicating the clearing of all data from the database.

The following additional features are implemented:

  • List anything else that you can get done to improve the app functionality!

Video Walkthrough

Here's a walkthrough of implemented user stories:

Sleep Tracker demo

Notes

Additional app functionality: option to edit previous sleep qualities, search bar to search for specific sleep dates, option to change 24 hour dates to 12 hour AM-PM dates

License

Copyright 2019 Tanner Iverson

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

An Android application to track sleep.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages