Removing Android dependency from forgot password presenter
See original GitHub issueActual Behaviour
According to MVP pattern, the presenter must not have any android dependency as it makes it difficult to test the presenter later on separately.
Here we can see that there is a dependency of android.color
in the Presenter.
https://github.com/fossasia/susi_android/blob/development/app/src/main/java/org/fossasia/susi/ai/forgotpassword/ForgotPasswordPresenter.kt#L3
Expected Behaviour
Remove this to follow proper MVP pattern.
Would you like to work on the issue? yes
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Remove Dependency Android Resolver (Android Advertising ...
My question here is: Is there a way to remove a single dependency from Android Resolver dependencies generated by the firebase-unity ...
Read more >Security - Android Developers
Your DPC can reset a user's password by authorizing the change with a preregistered, secure token. Device owners and profile owners can call ......
Read more >Manual dependency injection - Android Developers
Basics of manual dependency injection; Managing dependencies with a container; Managing dependencies in application flows; Conclusion.
Read more >AccountManager - Android Developers
Action sent as a broadcast Intent by the AccountsService when accounts are added, accounts are removed, or an account's credentials (saved password, ...
Read more >Device administration overview - Android Developers
To uninstall an existing device admin app, users need to first unregister the ... Note that the Device Administration API currently only supports...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@anandkumarkparmar okay go ahead
or make your own branch and a send a PR deleting the forgotpassword activity along with the package