public class VehicleModelGridAdapter
extends android.widget.BaseAdapter
Constructor and Description |
---|
VehicleModelGridAdapter(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
VehicleModelInfo |
getItem(int position) |
long |
getItemId(int position) |
VehicleModelInfo |
getSelected() |
android.view.View |
getView(int position,
android.view.View cell,
android.view.ViewGroup parent) |
void |
setCategory(java.lang.String category) |
void |
setColor(int color) |
void |
setSelected(VehicleModelInfo vehicle) |
areAllItemsEnabled, getAutofillOptions, getDropDownView, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserver
public VehicleModelGridAdapter(MapView mapView)
public void setCategory(java.lang.String category)
public void setColor(int color)
public void setSelected(VehicleModelInfo vehicle)
public VehicleModelInfo getSelected()
public int getCount()
public long getItemId(int position)
public VehicleModelInfo getItem(int position)
public android.view.View getView(int position, android.view.View cell, android.view.ViewGroup parent)