Are my view models observable? The presenter gets a response model but it's just a dto, so how is the view informed of updates? Or is the response model observable so we can bubble this up to the vm via the presenter?
Let's say I have a View Contact Details use case. Eventually the UI renders the details but we have to keep this view in sync with an entity (for example the contact name changes). The changes can be fine grained, so any part of the view might be updated.
The interactors are stateless so I don't think it's good to keep them long lived to simply listen to entity changes. It would also then be told by the presenter to stop listening as we'd want to prevent memory leaks when the view is disposed.
Uncle Bob any thoughts for us client devs?
--
The only way to go fast is to go well.
---
You received this message because you are subscribed to the Google Groups "Clean Code Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clean-code-discu...@googlegroups.com.
To post to this group, send email to clean-code...@googlegroups.com.
Visit this group at http://groups.google.com/group/clean-code-discussion.