3

Consider instagram app with extra useCase

  • get post from api
  • like post
  • flag post
  • bookmark post
  • comment post

So I have one View(Fragment) and one presenter

I use clean architecture , So what is the best way to implement presenter and useCase?!

  1. inject multiple useCase in one presenter
  2. mix multiple useCase in one useCase and inject it to presenter
Mehrdad Faraji
  • 3,744
  • 3
  • 25
  • 38

0 Answers0