Skip to content

Instantly share code, notes, and snippets.

@auniverseaway
Last active December 25, 2015 22:09
Show Gist options
  • Save auniverseaway/7047277 to your computer and use it in GitHub Desktop.
Save auniverseaway/7047277 to your computer and use it in GitHub Desktop.
public abstract class ViewModel : INotifyPropertyChanged {
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged(string name) {
if (PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(name));
}
}
public class Toasts
{
public int count { get; set; }
public bool auth_toast { get; set; }
public List<Toast> items { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment