removeDocument

abstract fun removeDocument(@NonNull documentDescriptor: DocumentDescriptor): Boolean

Removes the document if it's managed by this coordinator. Next visible document will be shown after removing currently visible document.

Return

true when documents list has changed.

Parameters

documentDescriptor

Document to remove.

Throws

if not called on the UI thread