public class

ArcGISReadOnlyAttributesAdapter

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

Class Overview

Default adapter to display graphic's attributes in read-only mode.
Applications can either override this class to change the display of read-only attributes or use the setXXXLayoutResourceId setters to define new layouts based on the type of the field

Summary

Nested Classes
class ArcGISReadOnlyAttributesAdapter.DescriptionView Class inheriting from WebView to display a map's description 
class ArcGISReadOnlyAttributesAdapter.FieldValueView Class inheriting from TextView to display the value of a field 
[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
ArcGISReadOnlyAttributesAdapter(Context context, Popup popup)
Constructor taking a context and a popup.
Public Methods
int getCount()
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 ArcGISReadOnlyAttributesAdapter (Context context, Popup popup)

Constructor taking a context and a popup.

Parameters
context Context: the context
popup Popup: the popup

Public Methods

public int getCount ()

Returns
int

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)