public class DeconflictionAdapter extends android.widget.ArrayAdapter<MapItem>
| Modifier and Type | Class and Description |
|---|---|
static class |
DeconflictionAdapter.DeconflictionType |
static class |
DeconflictionAdapter.ViewHolder |
| Modifier and Type | Field and Description |
|---|---|
protected android.content.Context |
mContext |
protected MapView |
mMapView |
protected MapTouchController |
mtc |
static java.lang.String |
TAG |
| Constructor and Description |
|---|
DeconflictionAdapter(android.content.Context context,
java.util.ArrayList<MapItem> items,
DeconflictionAdapter.DeconflictionType type,
MapTouchController mtc,
android.view.MotionEvent event) |
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
protected void |
jumpTo(MapItem pmi)
Given a Map Item, center the item on the map display.
|
add, addAll, addAll, clear, createFromResource, getAutofillOptions, getContext, getCount, getDropDownView, getDropDownViewTheme, getFilter, getItem, getItemId, getPosition, insert, notifyDataSetChanged, remove, setDropDownViewResource, setDropDownViewTheme, setNotifyOnChange, sortareAllItemsEnabled, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserverpublic static final java.lang.String TAG
protected final android.content.Context mContext
protected final MapView mMapView
protected final MapTouchController mtc
public DeconflictionAdapter(android.content.Context context,
java.util.ArrayList<MapItem> items,
DeconflictionAdapter.DeconflictionType type,
MapTouchController mtc,
android.view.MotionEvent event)
protected void jumpTo(MapItem pmi)
public android.view.View getView(int position,
android.view.View convertView,
android.view.ViewGroup parent)
getView in interface android.widget.AdaptergetView in class android.widget.ArrayAdapter<MapItem>