We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for sharing this repo archi.
This is unlikely related to the MVVM design pattern but just want to make sure I'm not missing anything important.
Why do you do: MainViewModel.java
private void loadGithubRepos(String username) { // ... ArchiApplication application = ArchiApplication.get(context); // ... }
why not simply: MainViewModel.java
private void loadGithubRepos(String username) { // ... ArchiApplication application = (ArchiApplication) context.getApplicationContext(); // ... }
(I tried it and the app runs just fine) Is it to prevent memory leak or sth? I can't seem to get my head around it Sorry for the noob question
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks for sharing this repo archi.
This is unlikely related to the MVVM design pattern but just want to make sure I'm not missing anything important.
Why do you do:
MainViewModel.java
why not simply:
MainViewModel.java
(I tried it and the app runs just fine)
Is it to prevent memory leak or sth? I can't seem to get my head around it
Sorry for the noob question
The text was updated successfully, but these errors were encountered: