getPreloadRequestBuilder

abstract fun getPreloadRequestBuilder(item: U): RequestBuilder<out Any>

Returns a RequestBuilder for a given item on which load} has been called or null if no valid load can be started.

For the preloader to be effective, the RequestBuilder returned here must use exactly the same size and set of options as the RequestBuilder used when the ``View`` is bound. You may need to specify a size in both places to ensure that the width and height match exactly. If so, you can use override to do so.

The target and context will be provided by the preloader.

If load is not called by this method, the preloader will trigger a RuntimeException. If you don't want to load a particular item or position, filter it from the list returned by getPreloadItems.

Parameters

item

The model to load.