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

Calendar View for Expenses #14

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

Conversation

subbramanil
Copy link

PR for Issue #7

Uses a simple android calendar view and uses existing framework to show the expenses in the calendar view. More info on the commits.

splash-SplashActivity-02212020171401

splash-SplashActivity-02212020170239

Adding events would require a bit more customization of calendar view or using any existing open source GitHub calendar view libraries with events support.

- Adds new ExpenseFragmentModel based off HomeFragmentModel which only has the required functions
- Updates FilterExpensesUseCase to compare dates of the two expense items
- Adds ExpenseHistoryAdapter with only the required functions to show expenses in rows
- Uses simple Linear Layout to show the calendar view & list of expenses (recyclerview)

**Note**: ExpenseFragmentModel is added as a redundant for a bit cleaner code. The same functionality can be achieved through few additional functions on "HomeFragmentModel". ExpenseFragmentModel can be removed by removing the comments in 'HomeFragmentModel' and replace usages of 'ExpenseFragmentModel'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant