Example #1
0
 public WeekViewModel(string cityName, string jsonResult, List <Datum2> dailyDetails, INavigation navigation)
     : base(navigation)
 {
     constants     = new Constants.Constants();
     _cityNameText = cityName;
     _dailyDetails = dailyDetails;
     //init for each day the name of the day
     WeatherDay = GetListWeatherDay();
     //combine the name of days to list of view model
     WeatherForWeek = GetListIncludingNameOfDays();
     AddImageAccordingToIcon();
 }
Example #2
0
        private List <DataSelectControl> GetListStatus()
        {
            var constants = new Constants.Constants();

            return(constants.ListStatus());
        }