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

MainActivity handles things it should not #9

Open
Blackclaws opened this issue Dec 12, 2019 · 0 comments
Open

MainActivity handles things it should not #9

Blackclaws opened this issue Dec 12, 2019 · 0 comments

Comments

@Blackclaws
Copy link

I want to make a case that MainActivity and other acitvities actually handle things they aren't supposed to in an MVP scenario. For example in the cost deleted case the main activity actually performs a refresh by calling the presenter. I would argue that its up to the presenter to actually decide that a deletion would require a full refresh, or is the idea here that its up to the view to decide how to actually implement this change and it decides to go with a full reload?

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

No branches or pull requests

1 participant