Example #1
0
        public async void sqliteAdd()
        {
            WeatherAPI api = new WeatherAPI("Perth, AU");

            Debug.WriteLine(api.GetTemp().ToString());

            SQLiteAsyncConnection connection = DependencyService.Get <SQLiteInterface>().GetConnection();
            await connection.InsertAsync(new Job(ContactsList.Count + 1, textInput.Text, false, false, true, api.GetTemp().ToString()));

            update();
        }
Example #2
0
        public void CheckWeather()
        {
            WeatherAPI DataAPI = new WeatherAPI(City);

            temp = DataAPI.GetTemp();
        }