Jan Widmer Jan Widmer -4 years ago 129
C# Question

Xamarin.Forms MasterDetailPage with PropertyChanged.Fody not working

I am using Xamarin.Forms in Visual Studio. Now I have the problem that ImplementPropertyChanged (Nuget: PropertyChanged.Fody) is not working correctly. Is there a known problem with this Nuget and the MasterDetailPage?

I use the MVVM pattern and have a BaseViewModel that implements PropertyChanged.

[ImplementPropertyChanged]
public class BaseViewModel
{
public BaseViewModel()
{
}
}


Every ViewModel is like this

public class MyViewModel() : BaseViewModel
{
}


Thanks,
Jan

Answer Source

You forgot to implement INotifyPropertyChanged in your BaseViewModel

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download