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

Make use of DomainsLayers/UseCases #4364

Open
mahibi opened this issue Oct 22, 2024 · 0 comments
Open

Make use of DomainsLayers/UseCases #4364

mahibi opened this issue Oct 22, 2024 · 0 comments
Labels
enhancement New feature or request technical debt Technical issue

Comments

@mahibi
Copy link
Collaborator

mahibi commented Oct 22, 2024

As the app grows and calls to repositories are needed in multiple places, it makes sense to make use of "UseCases" to avoid redundant code.

Explanation at
https://medium.com/@ami0275/mvvm-clean-architecture-pattern-in-android-with-use-cases-eff7edc2ef76

As an example where this would make sense look at this comment: https://github.com/nextcloud/talk-android/pull/4333/files#r1810614023

As soon as a some UseCases have been implemented, this issue can be closed and the implementations should serve as a example.

@mahibi mahibi added enhancement New feature or request technical debt Technical issue labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request technical debt Technical issue
Projects
None yet
Development

No branches or pull requests

1 participant