Fix compilation
This commit is contained in:
parent
f8c459146b
commit
a580d65604
2 changed files with 3 additions and 2 deletions
|
@ -178,7 +178,8 @@ public class ContextMenuAdapter {
|
|||
}
|
||||
});
|
||||
}
|
||||
if (convertView == null || (layoutId != convertView.getTag())) {
|
||||
if (convertView == null || !(convertView.getTag() instanceof Integer)
|
||||
|| (layoutId != (Integer)convertView.getTag())) {
|
||||
convertView = LayoutInflater.from(getContext()).inflate(layoutId, parent, false);
|
||||
convertView.setTag(layoutId);
|
||||
}
|
||||
|
|
|
@ -630,7 +630,7 @@ public class RouteInfoWidgetsFactory {
|
|||
boolean imminent = false;
|
||||
private Context ctx;
|
||||
private ArrayList<Path> paths = new ArrayList<Path>();
|
||||
private Map<TurnPathHelper.TurnResource, Bitmap> bitmapCache = new ArrayMap<TurnPathHelper.TurnResource, Bitmap>();
|
||||
private Map<TurnPathHelper.TurnResource, Bitmap> bitmapCache = new HashMap<TurnPathHelper.TurnResource, Bitmap>();
|
||||
private Paint paintBlack;
|
||||
private Path laneStraight;
|
||||
private final Bitmap laneStraightBitmap;
|
||||
|
|
Loading…
Reference in a new issue