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

DI + Navigation + ViewModel #14

Merged
merged 1 commit into from
Jul 29, 2024
Merged

DI + Navigation + ViewModel #14

merged 1 commit into from
Jul 29, 2024

Conversation

sdsantos
Copy link
Contributor

  • Stored dependencies in the App instance of each platform, so they can be reused if we want to
  • Setup Jetpack Navigation
  • Setup ViewModels with the androidx ViewModel
  • Example ViewModel with a single state and onEvent method approach
  • Updated the README to better reflect our goals

All of patterns used are still up for discussion, just went with the approach I'm using in my latest projects, and with the underlying goal of making our code consistent and easily testable.

Closes #7, #8 and #9

Base automatically changed from logging to main July 29, 2024 16:32
@sdsantos sdsantos requested a review from aanorbel July 29, 2024 16:50
Copy link
Member

@aanorbel aanorbel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐳

@sdsantos sdsantos merged commit 263b775 into main Jul 29, 2024
4 checks passed
@sdsantos sdsantos deleted the ui-tooling branch July 29, 2024 17:04
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.

Multi-platform tooling: create front-end pattern example
2 participants