Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual improvement #86

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Conversation

fialo4ka
Copy link

Visual changes:

  • OverviewActivity split calories from date, add date back, forward.

Logical changes:

  • Added db table Goals with min calories per day, and ideal weight
  • Added GoalsActivity with opportunity to count calories per day for user and save goals to db
  • added line to graph statistic to show calories goal.

Planed changes:

  • add Activity to add each day weight, add graph to StatisticActivity with weight graph.
  • Translate to ru, find/add where user can choose language...

if everything is fine I can rebase

@Kamuno Kamuno added the enhancement New feature or request label Jan 5, 2021
@Kamuno Kamuno self-requested a review January 5, 2021 12:51
@fialo4ka
Copy link
Author

Hi!
I fix conflicts and add last changes, so now you can review and merge it :)

I will add new pull request to finish Weight functionality when it will be ready.

Copy link
Member

@Kamuno Kamuno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had a major update with the Backup Integration which caused some merge conflicts. Can you have a look?

date = date + (86400000 * i);
refreshData();
viewModel.getList().observe(this, new Observer<List<DatabaseEntry>>() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this observed over and over again? This should only be done once the activity loads. The ViewModel should be responsible to always supply the correct information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants