RecyclerViewPreloader

open fun RecyclerViewPreloader(    activity: Activity,     preloadModelProvider: PreloadModelProvider<T>,     preloadDimensionProvider: PreloadSizeProvider<T>,     maxPreload: Int)

Helper constructor that accepts an Activity.


open fun RecyclerViewPreloader(    fragmentActivity: FragmentActivity,     preloadModelProvider: PreloadModelProvider<T>,     preloadDimensionProvider: PreloadSizeProvider<T>,     maxPreload: Int)

Helper constructor that accepts an FragmentActivity.


open fun RecyclerViewPreloader(    fragment: Fragment,     preloadModelProvider: PreloadModelProvider<T>,     preloadDimensionProvider: PreloadSizeProvider<T>,     maxPreload: Int)

Helper constructor that accepts an Fragment.


open fun RecyclerViewPreloader(    fragment: Fragment,     preloadModelProvider: PreloadModelProvider<T>,     preloadDimensionProvider: PreloadSizeProvider<T>,     maxPreload: Int)

Helper constructor that accepts an android.app.Fragment.

Deprecated

Use constructor RecyclerViewPreloader(Fragment, PreloadModelProvider, PreloadSizeProvider instead.


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

Constructor 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.