Search in sources :

Example 1 with FutureWeatherItem

use of tk.woppo.sunday.widget.FutureWeatherItem in project SunDay by iQuick.

the class FutureWeatherAdapter method getView.

@Override
public View getView(int position, View convertView, ViewGroup parent) {
    WeatherModel model = mList.get(position);
    FutureWeatherItem item;
    if (convertView == null) {
        item = FutureWeatherItem_.build(mContext);
    } else {
        item = (FutureWeatherItem) convertView;
    }
    item.bind(model, position);
    return item;
}
Also used : WeatherModel(tk.woppo.sunday.model.WeatherModel) FutureWeatherItem(tk.woppo.sunday.widget.FutureWeatherItem)

Aggregations

WeatherModel (tk.woppo.sunday.model.WeatherModel)1 FutureWeatherItem (tk.woppo.sunday.widget.FutureWeatherItem)1