Updates for the start of Material.

This commit is contained in:
Dan Galpin
2015-05-25 01:11:09 -07:00
parent 09bf41133c
commit fd3b39883f
2 changed files with 3 additions and 2 deletions

View File

@@ -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