Open Lamparter opened 2 weeks ago
I can't use MVVM app model as in [ObservableProperty]
and bindings and etcetera but I can copy the classic MVVM project style, that looks like this:
Assets
Properties
Helpers
should mostly be in
Rebound.Helpers
but I'm kind of having second thoughts about it
Models
Views
ViewModels
should probably just use code-behind for ViewModels
UserControls
MainPage.xaml
App.xaml
other files should not be here unless strictly necessary/appconfig files
📄 Description
Currently, Rebound does not implement MVVM namespace structure. Code should be moved from code-behind into reusable ViewModels/Models, like so:
Rebound.Models
Rebound.ViewModels
Rebound.Views
âš¡ API Changes
VIEWS
MODELS
VIEWMODELS
👥 Usage scenarios
For example, the code-behind for the installer (
InstallationWindow.xaml.cs
) would now be a separate model.🔙 Backward Compatibility
Shouldn't affect anything.
🤔 Difficulty
Medium