Functions

Link copied to clipboard

Allows to observe individual lens content loading Status.

Link copied to clipboard
open override fun run(lenses: List<LensesComponent.Lens>, callback: Consumer<Boolean>): Closeable

Starts a new operation to prefetch content for the provided list of lenses. The callback receives True when operation completes successfully or False if it fails or is interrupted before completion. The returned Closeable can be used to cancel the operation. However, if Closeable is ignored, then any incomplete prefetch operation will be cancelled once LensesComponent is closed.