Created
November 19, 2018 22:29
-
-
Save MartinZikmund/84787894284fde0a2098d25333468a6f to your computer and use it in GitHub Desktop.
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
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