async void Handle_Clicked(object sender, System.EventArgs e) { var db = new DBFire(); await db.saveRoom(new Room() { Name = _rootName.Text }); await Navigation.PopAsync(); }
public Test() { InitializeComponent(); _lst.BindingContext = obs; db = new DBFire(); _lst.IsRefreshing = true; updateTable(); }
public RealTimePage() { InitializeComponent(); db = new DBFire(); _lstData.BindingContext = db.getTdpData(); /*foreach (var item in db.getTdpData()) * { * System.Console.WriteLine("stop plz item: " + item.nombre); * } */ }