public interface

Editor

com.android.contacts.model.Editor
Known Indirect Subclasses

Class Overview

Generic definition of something that edits a Data row through an EntityDelta.ValuesDelta object.

Summary

Nested Classes
interface Editor.EditorListener Listener for an Editor, usually to handle deleted items. 
Public Methods
abstract void onFieldChanged(String column, String value)
Called internally when the contents of a specific field have changed, allowing advanced editors to persist data in a specific way.
abstract void setEditorListener(Editor.EditorListener listener)
Add a specific Editor.EditorListener to this Editor.
abstract void setValues(ContactsSource.DataKind kind, EntityDelta.ValuesDelta values, EntityDelta state, boolean readOnly, ViewIdGenerator vig)
Prepare this editor for the given EntityDelta.ValuesDelta, which builds any needed views.

Public Methods

public abstract void onFieldChanged (String column, String value)

Called internally when the contents of a specific field have changed, allowing advanced editors to persist data in a specific way.

public abstract void setEditorListener (Editor.EditorListener listener)

Add a specific Editor.EditorListener to this Editor.

public abstract void setValues (ContactsSource.DataKind kind, EntityDelta.ValuesDelta values, EntityDelta state, boolean readOnly, ViewIdGenerator vig)

Prepare this editor for the given EntityDelta.ValuesDelta, which builds any needed views. Any changes performed by the user will be written back to that same object.