Beispiel #1
0
 /// <summary>
 /// Get instance of this viewmodel
 /// </summary>
 /// <returns></returns>
 static public Viewmodel GetInstance()
 {
     if (instance == null)
     {
         instance = new Viewmodel();
     }
     return(instance);
 }
 public ConnectPage()
 {
     InitializeComponent();
     this.BindingContext = Viewmodel.GetInstance();
 }
Beispiel #3
0
 public TakePhotoPage()
 {
     InitializeComponent();
     this.BindingContext = Viewmodel.GetInstance();
 }