ProgressDataProvider

ProgressDataProvider is an interface which should be implemented by any DataProvider that should support providing document loading progress updates.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun observeProgress(): Flowable<Double>

Returns an Flowable that emits values from 0 to 1 indicating the current loading progress of this document. You can return ProgressDataProvider.COMPLETE if you don't want to provide progress updates.