Builder

class Builder

The DefaultPreviewLoader Builder.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard
Builds the DefaultPreviewLoader instance
Link copied to clipboard
open fun setNumberOfImagesToPrefetch(numberOfImagesToPrefetch: Int): DefaultPreviewLoader.Builder
Sets the max number of images that will be prefetch as soon as the ThumbnailDocument is set through setThumbnailDocument.
Link copied to clipboard
open fun setPicasso(picasso: Picasso): DefaultPreviewLoader.Builder
Sets a customized Picasso instance to request and load the images.