Interface ListView.ItemEditor

  • All Known Implementing Classes:
    ListViewItemEditor
    Enclosing class:
    ListView

    public static interface ListView.ItemEditor
    List view item editor interface.
    • Method Detail

      • beginEdit

        void beginEdit​(ListView listView,
                       int itemIndex)
        Called to begin editing a list item.
        Parameters:
        listView - The list view being edited.
        itemIndex - The index if the particular item being edited.
      • endEdit

        void endEdit​(boolean result)
        Terminates an edit operation.
        Parameters:
        result - true to perform the edit; false to cancel it.
      • isEditing

        boolean isEditing()
        Tests whether an edit is currently in progress.
        Returns:
        Whether an edit is in progress.