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

Decouple view code to use view and viewmodels #41

Open
Staartvin opened this issue Mar 22, 2023 · 0 comments
Open

Decouple view code to use view and viewmodels #41

Staartvin opened this issue Mar 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Staartvin
Copy link
Collaborator

Instead of writing all code in a single screen, try to decouple view code from business logic. The view code should be part in the screen class (and performed on the main thread), and the business code can be stored in a view model.

@Staartvin Staartvin added the enhancement New feature or request label Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant