Skip to content

Instantly share code, notes, and snippets.

Created December 14, 2020 10:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace ICTalkMobileApp.ViewModels
public class BaseViewModel : INotifyPropertyChanged
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged([CallerMemberName] string propertyName = "")
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
private bool isBusy;
public bool IsBusy
get => isBusy;
set { isBusy = value; OnPropertyChanged(); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment