public class

ArcGISDescriptionAdapter

extends ArcGISAttributesAdapter
java.lang.Object
   ↳ com.esri.android.map.popup.ArcGISAttributesAdapter
     ↳ com.esri.android.map.popup.ArcGISDescriptionAdapter

This class is deprecated.
at 10.1.1 please use ArcGISReadOnlyAttributesAdapter

Class Overview

Default attribute adapter displaying only the description in a WebView

Summary

[Expand]
Inherited Constants
From class com.esri.android.map.popup.ArcGISAttributesAdapter
From interface android.widget.Adapter
[Expand]
Inherited Fields
From class com.esri.android.map.popup.ArcGISAttributesAdapter
Public Constructors
ArcGISDescriptionAdapter(Context context, Popup popup)
Constructor taking a context and a popup.
Public Methods
void applyStyle(ArcGISPopupStyle style, ArcGISPopupStyle.STYLE_ELEMENT styleElement)
int getCount()
Set<ArcGISPopupStyle.STYLE_ELEMENT> getRegisteredStyle()
View getView(int position, View convertView, ViewGroup parent)
void refresh()
Perform housekeeping when needed
Protected Methods
ViewGroup createDefaultLayout(ArcGISAttributesAdapter.FIELD_TYPE fieldType)
Creates a default layout for this adapter based on the field type
[Expand]
Inherited Methods
From class com.esri.android.map.popup.ArcGISAttributesAdapter
From class java.lang.Object
From interface android.widget.Adapter

Public Constructors

public ArcGISDescriptionAdapter (Context context, Popup popup)

Constructor taking a context and a popup.

Parameters
context Context: the context
popup Popup: the popup
Throws
Exception An exception is thrown if the context passed in parameter is not an Activity

Public Methods

public void applyStyle (ArcGISPopupStyle style, ArcGISPopupStyle.STYLE_ELEMENT styleElement)

Parameters
style ArcGISPopupStyle
styleElement ArcGISPopupStyle.STYLE_ELEMENT

public int getCount ()

Returns
int

public Set<ArcGISPopupStyle.STYLE_ELEMENT> getRegisteredStyle ()

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

Parameters
position int
convertView View
parent ViewGroup
Returns
View

public void refresh ()

Perform housekeeping when needed

Protected Methods

protected ViewGroup createDefaultLayout (ArcGISAttributesAdapter.FIELD_TYPE fieldType)

Creates a default layout for this adapter based on the field type

Parameters
fieldType ArcGISAttributesAdapter.FIELD_TYPE: the ArcGISAttributesAdapter.FIELD_TYPE
Returns
ViewGroup a layout (ViewGroup)