Class OnAnnotationSelectedListenerAdapter

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • OnAnnotationSelectedListenerAdapter

        OnAnnotationSelectedListenerAdapter()
    • Method Detail

      • onPrepareAnnotationSelection

         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

         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 .