protected class

ArcGISEditAttributesAdapter.CodedValueSpinnerAdapter

extends Object
implements SpinnerAdapter
java.lang.Object
   ↳ com.esri.android.map.popup.ArcGISEditAttributesAdapter.CodedValueSpinnerAdapter

Summary

[Expand]
Inherited Constants
From interface android.widget.Adapter
Public Constructors
ArcGISEditAttributesAdapter.CodedValueSpinnerAdapter(Map<String, String> codeValues)
Public Methods
int getCount()
View getDropDownView(int position, View convertView, ViewGroup parent)
String getItem(int position)
long getItemId(int position)
int getItemViewType(int position)
int getPosition(ArcGISAttributesAdapter.AttributeInfo attributeInfo)
View getView(int position, View convertView, ViewGroup parent)
int getViewTypeCount()
boolean hasStableIds()
boolean isEmpty()
void registerDataSetObserver(DataSetObserver observer)
void setKeyValues(Map<String, String> codeValues)
void unregisterDataSetObserver(DataSetObserver observer)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.widget.SpinnerAdapter
From interface android.widget.Adapter

Public Constructors

public ArcGISEditAttributesAdapter.CodedValueSpinnerAdapter (Map<String, String> codeValues)

Parameters
codeValues Map

Public Methods

public int getCount ()

Returns
int

public View getDropDownView (int position, View convertView, ViewGroup parent)

Parameters
position int
convertView View
parent ViewGroup
Returns
View

public String getItem (int position)

Parameters
position int
Returns
String

public long getItemId (int position)

Parameters
position int
Returns
long

public int getItemViewType (int position)

Parameters
position int
Returns
int

public int getPosition (ArcGISAttributesAdapter.AttributeInfo attributeInfo)

Parameters
attributeInfo ArcGISAttributesAdapter.AttributeInfo
Returns
int

public View getView (int position, View convertView, ViewGroup parent)

Parameters
position int
convertView View
parent ViewGroup
Returns
View

public int getViewTypeCount ()

Returns
int

public boolean hasStableIds ()

Returns
boolean

public boolean isEmpty ()

Returns
boolean

public void registerDataSetObserver (DataSetObserver observer)

Parameters
observer DataSetObserver

public void setKeyValues (Map<String, String> codeValues)

Parameters
codeValues Map

public void unregisterDataSetObserver (DataSetObserver observer)

Parameters
observer DataSetObserver