getPreloadSize
abstract fun getPreloadSize( item: T, adapterPosition: Int, perItemPosition: Int): Array<Int>
Content copied to clipboard
Returns the size of the view in the list where the resources will be displayed in pixels in the format [x, y], or null
if no size is currently available.
Note - The dimensions returned here must precisely match those of the view in the list.
If this method returns null
, then no request will be started for the given item.
Parameters
item
A model