dotnet / Comet

Comet is an MVU UIToolkit written in C#
MIT License
1.64k stars 116 forks source link

Add new sample listview #273

Closed jessejiang0214 closed 1 year ago

jessejiang0214 commented 1 year ago

This is an excellent example to compare XAML binding vs MVU.

From the XAML, you need to create a ViewModel for the cell as the data context, if you want to add some buttons to communicate with page, you have to use MessageCenter or Action/Function to talk with Page's ViewModel.

But from this sample, MVU looks very elegant.