WhenActivated is called twice when used in Views and ViewModels hosted in ViewModelViewHost control

前端 未结 2 1992
感动是毒
感动是毒 2021-02-09 03:53

My app uses views, which implement IViewFor interface. The views are registered with the dependency resolver in AppBootstrapper. The app displ

2条回答
  •  北海茫月
    2021-02-09 04:17

    You can check this link. There is a very good explenation of everything. This is all I can offer without the knowledge of what you did in the "View" itself.

    It is possible that the "ViewModel and View" are called twice because you are creating two LoadingViewModels.

提交回复
热议问题