Skip to content

Instantly share code, notes, and snippets.

@MartinZikmund
Created November 19, 2018 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinZikmund/84787894284fde0a2098d25333468a6f to your computer and use it in GitHub Desktop.
Save MartinZikmund/84787894284fde0a2098d25333468a6f to your computer and use it in GitHub Desktop.
using Xamarin.Forms;
namespace MyAwesomeApp.ViewModels
{
public class HomeViewModel : BindableObject
{
private string _greeting = "Hello";
public string Greeting
{
get => _greeting;
set
{
_greeting = value;
OnPropertyChanged();
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment