-
Notifications
You must be signed in to change notification settings - Fork 26
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
fix: inject usecases lazily in WireActivityViewModel (WPB-6874) #3096
Conversation
Build 5281 failed. |
… lazy-inject-wire-viewmodel
Build 5282 failed. |
Built wire-android-staging-release-pr-3096.apk is available for download |
Built wire-android-dev-debug-pr-3096.apk is available for download |
Build 5287 succeeded. The build produced the following APK's: |
Quality Gate passedIssues Measures |
Built wire-android-staging-release-pr-3096.apk is available for download |
Built wire-android-dev-debug-pr-3096.apk is available for download |
Build 5302 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
Currently all usecases (with their dependencies: repository, db...) are being created and injected at launch time even they are not used immediately.
More details here:
https://wearezeta.atlassian.net/browse/WPB-9678
Solutions
Dagger has
Lazy
modifier which will inject the item when it's needed.Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.
Notes (Optional)
Specify here any other facts that you think are important for this issue.
Attachments (Optional)
Attachments like images, videos, etc. (drag and drop in the text box)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.