Created
May 25, 2016 21:21
-
-
Save StillLearnin/67f506bfd89966d0915a858f7caeb6b4 to your computer and use it in GitHub Desktop.
INotifyPropertyChanged that works with Xamarin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class INotifyImplementation : INotifyPropertyChanged | |
{ | |
public event PropertyChangedEventHandler PropertyChanged; | |
public virtual void OnPropertyChanged([CallerMemberName]string propertyName = null) | |
{ | |
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment