Skip to content

sophiezhai/FoodDiary_Kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

In this file you should include:

Any information you think we should know about your submission
* Is there anything that doesn't work? Why?
* Is there anything that you did that you feel might be unclear? Explain it here.

A description of the creative portion of the assignment
* Describe your feature
* Why did you choose this feature?
* How did you implement it?

1.When I add duplicate item, it will not show up on the list, it will add to the original items that is already in the list, I add a if statement to check whether
	or not the new item is already in the list, and take different action depend on that
2.I created recycler view in case that the user add too many food item into the list
3.When I enter the wrong input, it will not show on the screen, and definetly not enter into the main activity

1. (10 / 10 Points) User can enter total calorie amount on start up
2. (8 / 8 Points) User can add new food item by name
3. (8 / 8 Points) User can add new food item by calorie
4. (4 / 4 Points) Adding new food items is done in a second activity
5. (5 / 5 Points) Calories remaining is updated with each new food item
6. (5 / 5 Points) Calorie consumed is updated with each new food item
7. (10 / 10 Points) The list of food items displays foods and their respective calories amounts
8. (10 / 10 Points) Color change when calorie count becomes negative
9. (10 / 10 Points) All inputs are filtered and error messages are displayed accordingly
10. (2 / 2 Points) Code is clean and commented
11. (3 / 3 Points) App is visually appealing
12. (5 / 15 Points) Creative portion - design your own feature(s)!

Total: 80 / 90

Using a recycler view is an implementation detail (one that we covered in class) not a creative improvement. Verifying inputs is something we asked you to do as part of the write up and not a creative addition.

Checking for duplicate foods is an addition to the app, but a fairly trivial one.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages