Product owner asks to show all customer accounts details on screen. During first development iteration user must be able to see account name and if account is savings account then additionally goal image. Interviewer is your teammate, who is already working on the project for quite a while. Therefore, feel free to communicate with him and ask for help.
- Create new
UseCase
namedObserveAccountDetails
which gathers all required information from repositories. - Use created use case in
AccountDetailsPresenter
which should prepare the data for rendering (actual rendering not to be implemented)
- Code must be written in kotlin
- Follow clean code practices
- Cover code with tests
- Repositories signature and internal package files cannot be changed
- Imagine that dependencies are provided with dependency injection