Class WeatherSliderView


  • public class WeatherSliderView
    extends HorizontalScrollView
    • Constructor Detail

      • WeatherSliderView

        public WeatherSliderView​(Context context,
                                 WindowManager windowManager,
                                 CurrentWeatherInfo currentWeatherInfo,
                                 int popUpWidth,
                                 int popupHeight)
      • WeatherSliderView

        public WeatherSliderView​(Context context,
                                 AttributeSet attrs)
      • WeatherSliderView

        public WeatherSliderView​(Context context,
                                 AttributeSet attrs,
                                 int defStyleAttr)
    • Method Detail

      • onScrollChanged

        public void onScrollChanged​(int x,
                                    int y,
                                    int oldx,
                                    int oldy)
      • setScrollPosition

        public void setScrollPosition​(int itemPosition)
      • upateViews

        public void upateViews​(int itemPosition)
      • get6hPosition

        public java.lang.Integer get6hPosition​(int position1h)
      • get6hPixelOffset

        public java.lang.Integer get6hPixelOffset​(int position6h)
      • setViews

        public void setViews​(TextView dayTextView,
                             TextView temperatureTextView,
                             ImageView windImageView,
                             TextView windTextView,
                             ImageView labellingImageView,
                             TextView clouds1,
                             TextView clouds2,
                             TextView clouds3)
      • isScrollable

        public boolean isScrollable()
      • clearBitmapCache

        public static void clearBitmapCache()
      • setItems

        public void setItems​(int popUpWidth)
      • setLabelImage

        public void setLabelImage()