-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider removing ViewModelRendering #130
Comments
@krris What do you mean? |
Currently
but only two of our widgets follow the guidelines. |
So there are two Widgets using it. This protocol is here to stay, not sure about those Widgets (they come and go as you know). |
We could talk about it and maybe introduce another method |
But with this response latency @krris it will be really hard to discuss 😀 |
WDYT @michallaskowski ? |
Sorry for late response but I missed notifications. So let's leave as it is. Also I would prefer to do as you say:
Maybe we should refactor other widgets a little to follow the guidelines? |
It is not the problem with widgets not using it, because Core is not using it. Then there is no point in having this protocol. I am in for removing it, since it has no effect. Because widgets are responsible for creating views, we should not force MVVM on them. Current protocol for 'WidgetControlling' is enough for me. |
@krris We can refactor but one thing should be clear: there is noting like "ErrorWidget" or "ErrorMode" - not every Widget should have "erroneous mode" and something like blank error view on Clock widget is a big mistake. @michallaskowski I would like to "guide" the developer not to enforce (as there is no constraint, just a convention). |
Consider removing
ViewModelRendering
.The text was updated successfully, but these errors were encountered: