public async Task <List <WeatherHistory> > GetItemsAsync() { var data = await Database.Table <WeatherHistory>().ToListAsync(); if (_internalSourceCache.Count == 0) { _internalSourceCache.PopulateFrom(data.ToObservable()); } return(data); }
public async Task <List <WeatherHistory> > GetItemsAsync() { var data = await Database.Table <WeatherHistory>().ToListAsync(); if (_internalSourceCache.Count == 0) { _internalSourceCache.PopulateFrom(data.ToObservable()); } return(data); }