Interface AnnotationManager.OnAnnotationSelectedListener

    • 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
    • Constructor Detail

    • Method Detail

      • onPrepareAnnotationSelection

         abstract boolean onPrepareAnnotationSelection(@NonNull() AnnotationSelectionController controller, @NonNull() Annotation annotation, boolean annotationCreated)

        Called immediately before annotation is going to be selected.

        Parameters:
        controller - Selection controller that is performing the selection.
        annotation - Annotation that is going to be selected.
        annotationCreated - true if the annotation is being created.
        Returns:

        true when you want AnnotationSelectionController to proceed with the selection. Returning false will prevent annotation from being selected.

      • onAnnotationSelected

         abstract void onAnnotationSelected(@NonNull() Annotation annotation, boolean annotationCreated)

        Called when annotation gets selected.

        Parameters:
        annotation - Annotation that is being selected.
        annotationCreated - true if selected annotation is being created in .
      • onAnnotationSelectionFinished

         void onAnnotationSelectionFinished(@NonNull() List<Annotation> annotations, boolean annotationsCreated)

        Called when annotation gets selected.

        Parameters:
        annotations - Annotation that were selected.
        annotationsCreated - true if selected annotation are being created in .