add On Annotation Updated Listener
open fun addOnAnnotationUpdatedListener(@NonNull listener: AnnotationProvider.OnAnnotationUpdatedListener)
Register a AnnotationProvider.OnAnnotationUpdatedListener to get notified when annotation gets updated. If the listener has been registered previously, this method will be a no-op.
Note: Listeners methods are dispatched on the main UI thread.
Parameters
listener
Listener to register. Must be non-null.