mercredi 26 septembre 2018

Using interfaces for ViewModels?

I am currently integrating architecture components into my app according to the official documentation and the sample apps provided by google (sunflower and todo-app). I realized that none of these use interfaces for ViewModels (the sunflower app does not even use interfaces for repositories).

My question is: is it reasonable to just omit the interfaces for ViewModels (including advantages and disadvantages)?

Aucun commentaire:

Enregistrer un commentaire