...架MVVM(Model-View-ViewModel)作为底层架构(如图4所示),该架构包括模型、视图(userinterface,UI)、视图模型(viewmodel,VM)这3个部分组成。
基于68个网页-相关网页
Model-View-ViewModel 模式 ; 视图模型 ; 模型
The viewmodel becomes wholly responsible for the model in this scenario. Fortunately, it's not alone
在本场景中视图模型完全为模型负责,幸运的是,它并不孤单
The viewmodel exposes not only models, but other properties (such as state information, like the "is busy" indicator) and commands
视图模型不仅暴露模型,还有属性(比如状态信息,就像“is busy”指示符)和命令。
The ViewModel can interact with View through its interface.
ViewModel可以通过它的接口与View交互。
应用推荐