-
|
Trying to do something that would seem basic. I'm probably missing an attribute setting. MainPage.xaml:MainPage.xaml.cs:namespace MTRMauiClient; public partial class MainPage : ContentPage }MauiProgram.cs:using MTRMauiClient.ViewModels; public static class MauiProgram }SessionTokenViewModel.cs:using CommunityToolkit.Mvvm.ComponentModel; namespace MTRMauiClient.ViewModels /* just modify to anything different to prove the ViewModel value changed, so the UI can be validated /
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
you're changing the field, not the property that will raise the event(s). change the code to: DeviceKey = $"!{deviceKey}!"; |
Beta Was this translation helpful? Give feedback.
you're changing the field, not the property that will raise the event(s). change the code to: