add Instant Document Listener
Adds listener for instant document events. If the listener has already been added previously, this method will be a no-op. Adding null
is not allowed, and will result in an exception.
Note: All listener methods are dispatched on the main UI thread.
Parameters
listener
InstantDocumentListener that should be notified. Must be non-null.