Ejemplo n.º 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();
 }
Ejemplo n.º 3
0
 public TakePhotoPage()
 {
     InitializeComponent();
     this.BindingContext = Viewmodel.GetInstance();
 }