17. Also
- Figures displayed are first taken from REST, then refreshed using a
WebSocket
- Tapping on an item makes it expanded
18. Also
- Figures displayed are first taken from REST, then refreshed using a
WebSocket
- Tapping on an item makes it expanded
- Switching account
- Rename
28. Issue is...
- GetAccountsListInteractor
- SetAccountNameInteractor
- SetAccountAsDefaultInteractor
- … GetUserCommunicationsInteractor, SwitchAccountInteractor,
WhatNotInteractor
Each of them have some way of communicating the progress, success, errors.
29. What you get is AccountsPresenter.java
with over 700 LOC
39. “Hard” warning signs of SRP violation
- Big number of dependencies injected to the constructor (> 5? Maybe > 3?)
40. “Hard” warning signs of SRP violation
- Big number of dependencies injected to the constructor (> 5? Maybe > 3?)
- To state the obvious: LOC
41. “Hard” warning signs of SRP violation
- Big number of dependencies injected to the constructor (> 5? Maybe > 3?)
- To state the obvious: LOC
- Not that obvious: big number of tests for a single unit
42. “Hard” warning signs of SRP violation
- Big number of dependencies injected to the constructor (> 5? Maybe > 3?)
- To state the obvious: LOC
- Not that obvious: big number of tests for a single unit
- Many methods on the View’s interface