Class OnAnnotationSelectedListenerAdapter

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • OnAnnotationSelectedListenerAdapter

    • Method Detail

      • onPrepareAnnotationSelection

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

        Called immediately before annotation is going to be selected.

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

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

      • onAnnotationSelected

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

        Called when annotation gets selected.

        annotation - Annotation that is being selected.
        annotationCreated - true if selected annotation is being created in .