示例#1
0
        async void Handle_Clicked(object sender, System.EventArgs e)
        {
            var db = new DBFire();
            await db.saveRoom(new Room()
            {
                Name = _rootName.Text
            });

            await Navigation.PopAsync();
        }
示例#2
0
        public Test()
        {
            InitializeComponent();
            _lst.BindingContext = obs;

            db = new DBFire();

            _lst.IsRefreshing = true;
            updateTable();
        }
示例#3
0
        public RealTimePage()
        {
            InitializeComponent();
            db = new DBFire();
            _lstData.BindingContext = db.getTdpData();

            /*foreach (var item in db.getTdpData())
             * {
             *  System.Console.WriteLine("stop plz item: " + item.nombre);
             * } */
        }