public interface

PopupEditingListener

com.esri.android.map.event.PopupEditingListener

Class Overview

Implement this listener to handle events on editing buttons of a PopupContainer.

Summary

Public Methods
abstract void onAddAttachment()
The 'Add Attachment' button is clicked.
abstract void onCancel()
The 'Cancel' button is clicked.
abstract boolean onDelete()
The 'Delete' button is clicked.
abstract void onGeometryEditing(Geometry geometry)
The 'Edit Geometry' button is clicked.
abstract void onSave(Map<StringObject> attributes)
The 'Save' button is clicked.
abstract void onStartEditing()
Before an edit session is started.

Public Methods

public abstract void onAddAttachment ()

The 'Add Attachment' button is clicked.

public abstract void onCancel ()

The 'Cancel' button is clicked.

public abstract boolean onDelete ()

The 'Delete' button is clicked.

Returns
  • true if the feature has been deleted, false otherwise.

public abstract void onGeometryEditing (Geometry geometry)

The 'Edit Geometry' button is clicked. The Popup API only provides a UI for attribute editing. It is the developer's responsibility to provide a UI for geometry editing.

Parameters
geometry The geometry to be edited

public abstract void onSave (Map<StringObject> attributes)

The 'Save' button is clicked. Without handling this event to post the edits to the server, all the edits will be local.

Parameters
attributes The updated attributes.

public abstract void onStartEditing ()

Before an edit session is started.