Updates for the start of Material.
This commit is contained in:
@@ -90,10 +90,9 @@ public class ForecastAdapter extends CursorAdapter {
|
||||
public void bindView(View view, Context context, Cursor cursor) {
|
||||
|
||||
ViewHolder viewHolder = (ViewHolder) view.getTag();
|
||||
|
||||
int viewType = getItemViewType(cursor.getPosition());
|
||||
int weatherId = cursor.getInt(ForecastFragment.COL_WEATHER_CONDITION_ID);
|
||||
int fallbackIconId;
|
||||
int viewType = getItemViewType(cursor.getPosition());
|
||||
switch (viewType) {
|
||||
case VIEW_TYPE_TODAY: {
|
||||
// Get weather icon
|
||||
|
||||
Reference in New Issue
Block a user