I have a label in my View (WelcomePage.xaml):
<Label Style="{StaticResource Paragraph}" Text ="{Binding WelcomeText, Mode=TwoWay}" HorizontalOptions="Center"/>
Under the WelcomeViewModel Constructor I set the welcome text.
WelcomeText = Settings.WelcomeText;
it is a fully backed property (WelcomeViewModel.cs):
public class WelcomeViewModel : BaseViewModel
{
private string _welcomeText;
public string WelcomeText
{
get { return _welcomeText; }
set { SetProperty(ref _welcomeText, value); }
}
Changing Settings.WelcomeText does not update the View because the VM constructor is only called once.
Where do I set the WelcomeText binding?