I have an MVP application with two nested recycler views. The view holders are in charge now of handling view changes, for example visibility changes. But I also have logic and data mixed inside my view holder, how could I order this?
I'm starting to write a contract for each product with Views and Actions. Each RecyclerView should have its own View Interface and Presenter? Given that the ViewHolder has control over the itemView
, it should extend a View Interface?
Aucun commentaire:
Enregistrer un commentaire