Skip to content

Conversation

@trydalch
Copy link

Updating DataContext snippet to MainModel instead of MainViewModel

Description (*)

The MVUX SimpleCalculator docs incorrectly said to create a MainViewModel, instead of a MainModel

Fixed Issues (if necessary)

I'm not aware of any open issue.

Screenshots (if necessary)

Contribution checklist (*)

  • I have read the Contributing Guidelines
  • Commits have been made with meaningful commit messages
  • All automated tests have passed successfully

Updating DataContext snippet to MainModel instead of MainViewModel
[!include[Feeds and Commands](../../Resources/MVUX/Feeds-and-Commands.md)]

**[Import UI from Figma](xref:Workshop.SimpleCalc.MVUX.XAML.Figma) or [Creating the Layout](xref:Workshop.SimpleCalc.MVUX.XAML.CreatingLayout) | [Next](xref:Workshop.SimpleCalc.MVUX.XAML.Finishing)**
**[Import UI from Figma](xref:Workshop.SimpleCalc.MVUX.XAML.Figma) or [Creating the Layout](xref:Workshop.SimpleCalc.MVUX.XAML.CreatingLayout) | [Next](xref:Workshop.SimpleCalc.MVUX.XAML.Finishing)**
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this is highlighted as a change. I didn't modify it.

@DevTKSS
Copy link

DevTKSS commented Feb 24, 2025

@agneszitte looked up the changes, but to me as I used mainly mvux in the last time it seems like the typo tryed to be corrected is none because we do instanciate the MainViewModel here in the case not using uno navigator as far as I learned.
Obsolete?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants