OnDocumentsChangedListener

Listener for changes made to documents managed by DocumentCoordinator.

Functions

Link copied to clipboard
abstract fun onDocumentAdded(@NonNull documentDescriptor: DocumentDescriptor)
Called after new document has been added.
Link copied to clipboard
abstract fun onDocumentMoved(@NonNull documentDescriptor: DocumentDescriptor, targetIndex: Int)
Called after document has been moved in the documents list.
Link copied to clipboard
abstract fun onDocumentRemoved(@NonNull documentDescriptor: DocumentDescriptor)
Called after document has been removed.
Link copied to clipboard
abstract fun onDocumentReplaced(@NonNull oldDocument: DocumentDescriptor, @NonNull newDocument: DocumentDescriptor)
Called after document has been replaced with another document.
Link copied to clipboard
abstract fun onDocumentUpdated(@NonNull documentDescriptor: DocumentDescriptor)
Called after document has been updated - for example after it's been loaded.