ListPreloader

open fun ListPreloader(    requestManager: RequestManager,     preloadModelProvider: ListPreloader.PreloadModelProvider<T>,     preloadDimensionProvider: ListPreloader.PreloadSizeProvider<T>,     maxPreload: Int)

Constructor for com.bumptech.glide.ListPreloader that accepts interfaces for providing the dimensions of images to preload, the list of models to preload for a given position, and the request to use to load images.

Parameters

preloadModelProvider

Provides models to load and requests capable of loading them.

preloadDimensionProvider

Provides the dimensions of images to load.

maxPreload

Maximum number of items to preload.