Enjoyed your article, it was a good read :) So could “Specifications” be called “Interactors”.
Mike Scamell
1
Hi Mike,
Interactors will contain some business logic specific to your application, said another way, it will implement a “use case” for example if you’re familiar with the term.
Specifications on other hand are a way to “parameterize” a query, that way you don’t need to create a lot of model specific methods for the different kind of queries you need (but that is definitely a nice way to go to :) )
The important thing to notice is how this “piece” fits in the architecture. Normally in a MVP structure the presenter will have 1->N interactors dependently on how much use cases your activity have.
Hope that helped you a bit, but let me think what you thought about it!
cheers!