public void SetWeatherBackground(LocationPanelViewModel panelView)
 {
     // Background
     Glide.With(Context)
     .Load(panelView.Background)
     .Apply(new RequestOptions()
            .CenterCrop()
            .Error(colorDrawable)
            .Placeholder(colorDrawable))
     .Into(bgImageView);
 }
        public void SetWeather(LocationPanelViewModel panelView)
        {
            locationNameView.Text    = panelView.LocationName;
            locationTempView.Text    = panelView.CurrTemp;
            locationWeatherIcon.Text = panelView.WeatherIcon;
            Tag = panelView.LocationData;

            if (panelView.LocationName != null && Tag != null)
            {
                ShowLoading(false);
            }
        }
 public LocationPanel(Context context, LocationPanelViewModel panelView) :
     base(context)
 {
     Initialize(context);
     SetWeather(panelView);
 }