Skip to content

Calendar View for Expenses - #14

Open
subbramanil wants to merge 5 commits into
nominalista:masterfrom
subbramanil:develop
Open

Calendar View for Expenses#14
subbramanil wants to merge 5 commits into
nominalista:masterfrom
subbramanil:develop

Conversation

@subbramanil

Copy link
Copy Markdown

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