MVVM: How to handle interaction between nested ViewModels?

前端 未结 3 1900
悲&欢浪女
悲&欢浪女 2021-02-02 13:26

I\'m been experimenting with the oft-mentioned MVVM pattern and I\'ve been having a hard time defining clear boundaries in some cases. In my application, I have a dialog that a

3条回答
  •  时光说笑
    2021-02-02 13:47

    An option which works well for interaction between viewmodels is to bind directly to observer classes sitting between the viewmodel classes.

提交回复
热议问题