java.lang.Object | |
↳ | com.esri.android.map.popup.ArcGISAttributesAdapter |
Known Direct Subclasses |
Abstract adapter class to display graphic attributes in the popup.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | ArcGISAttributesAdapter.FieldLabelView | Default view class to display an attribute label | |||||||||
class | ArcGISAttributesAdapter.SeparatorView | Default view class to display a separator |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.widget.Adapter
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected Map<String, Object> | mAttributes | ||||||||||
protected Context | mContext | ||||||||||
protected FeatureType | mFeatureType | ||||||||||
protected Popup | mPopup | ||||||||||
protected ArcGISValueFormat | mValueFormat |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
areAllItemsEnabled()
Are all items enabled.
| ||||||||||
String |
getAttributeName(int position)
Gets the attribute name.
| ||||||||||
Object |
getAttributeValue(String attributeName)
Gets the attribute value.
| ||||||||||
int | getCount() | ||||||||||
Object | getItem(int position) | ||||||||||
long | getItemId(int position) | ||||||||||
int | getItemViewType(int position) | ||||||||||
int | getViewTypeCount() | ||||||||||
boolean | hasStableIds() | ||||||||||
boolean | isEmpty() | ||||||||||
boolean |
isEnabled(int position)
Checks if is enabled.
| ||||||||||
void |
notifyDataSetChanged()
Notifies the attached View that the underlying data has been changed and it should refresh itself.
| ||||||||||
void |
notifyDataSetInvalidated()
Notify data set invalidated.
| ||||||||||
abstract void |
refresh()
Perform housekeeping when needed
| ||||||||||
void | registerDataSetObserver(DataSetObserver observer) | ||||||||||
void |
reset()
Reset the attributes to their initial value.
| ||||||||||
void | unregisterDataSetObserver(DataSetObserver observer) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.widget.Adapter
|
Are all items enabled.
Gets the attribute name.
position | the position |
---|
Gets the attribute value.
attributeName | the attribute name |
---|
Checks if is enabled.
position | the position |
---|
Notifies the attached View that the underlying data has been changed and it should refresh itself.
Notify data set invalidated.
Perform housekeeping when needed
Reset the attributes to their initial value.