Interface OnAddNewEditListener

  • All Implemented Interfaces:

    
    public interface OnAddNewEditListener
    
                        

    Listener to notify when a new edit is going to be added.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Boolean onAddNewEdit(Edit edit) Notifies the observer that the a new edit is going to be added.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onAddNewEdit

         abstract Boolean onAddNewEdit(Edit edit)

        Notifies the observer that the a new edit is going to be added. Return false to cancel adding this Edit.

        Parameters:
        edit - The edit that is going to be added.
        Returns:

        false to cancel adding the edit or true to continue adding.