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

Shared viewModel between Directory #3

Open
shamshadpattani opened this issue Nov 20, 2024 · 0 comments
Open

Shared viewModel between Directory #3

shamshadpattani opened this issue Nov 20, 2024 · 0 comments

Comments

@shamshadpattani
Copy link

I am new to KMM. My question is, why do you create a separate directory, like a 'Photo' directory, for each function? Do you mean creating them separately? For example, if I need a login, should I create a 'Login' directory?

What is the real purpose of this? Is it for separation of concerns, or is it simply to use Koin? What should we do if a ViewModel is shared between both Login and Photo?

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