Updates for the start of Material.
This commit is contained in:
@@ -9,6 +9,8 @@ Android SDK 21 or Higher
|
||||
Build Tools version 21.1.2
|
||||
Android Support AppCompat 22.2.0
|
||||
Android Support Annotations 22.2.0
|
||||
Google Play Services GCM 7.0.0
|
||||
BumpTech Glide 3.5.2
|
||||
|
||||
Getting Started
|
||||
---------------
|
||||
|
||||
@@ -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