c# - Best Practice Observablecollection<Model> vs Observablecollection<ViewModel> -


which 1 better solution hold data or depends on conditions?

sample situation 1:
need display list of data can modified in new window after selection.

sample situation 2:
need display list of data can modified in list.

as you're using mvvm, should going observablecollection<viewmodel>.

the model should separated view means of viewmodel.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -