public class IconsetAdapter
extends android.widget.BaseAdapter
Modifier and Type | Field and Description |
---|---|
protected java.util.List<UserIconSet> |
_iconsets |
static java.lang.String |
ICONSET_CONTENTTYPE |
Constructor and Description |
---|
IconsetAdapter(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(UserIconSet iconset)
Prevents double adding, causes adapter to be redrawn
|
protected void |
clear() |
void |
dispose() |
int |
getCount() |
UserIconSet |
getIconset(int position) |
java.lang.Object |
getItem(int position) |
long |
getItemId(int position) |
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
boolean |
hasStableIds() |
public static final java.lang.String ICONSET_CONTENTTYPE
protected final java.util.List<UserIconSet> _iconsets
public IconsetAdapter(MapView mapView)
public void dispose()
public boolean add(UserIconSet iconset)
iconset
- the iconset to add to the adapterpublic UserIconSet getIconset(int position)
public int getCount()
public java.lang.Object getItem(int position)
public long getItemId(int position)
public android.view.View getView(int position, android.view.View convertView, android.view.ViewGroup parent)
public boolean hasStableIds()
hasStableIds
in interface android.widget.Adapter
hasStableIds
in class android.widget.BaseAdapter
protected void clear()