Class WeatherWarningAdapter


  • public class WeatherWarningAdapter
    extends BaseAdapter
    • Constructor Detail

      • WeatherWarningAdapter

        public WeatherWarningAdapter​(Context context,
                                     java.util.ArrayList<WeatherWarning> weatherWarnings,
                                     java.util.concurrent.Executor executor)
    • Method Detail

      • setLocalWarnings

        public void setLocalWarnings​(java.util.ArrayList<WeatherWarning> localWarnings)
      • formatTime

        public static java.lang.String formatTime​(long time)
      • getCount

        public int getCount()
      • getItem

        public java.lang.Object getItem​(int i)
      • getItemId

        public long getItemId​(int i)
      • getView

        public View getView​(int i,
                            View view,
                            ViewGroup viewGroup)
      • setWarningViewElements

        public static View setWarningViewElements​(Context context,
                                                  LayoutInflater layoutInflater,
                                                  View view,
                                                  ViewGroup viewGroup,
                                                  WeatherWarning warning,
                                                  boolean highlight,
                                                  Handler mainHandler,
                                                  java.util.concurrent.Executor executor)