@Deprecated
    protected int[] getDimensions(T item) {
        throw new IllegalStateException("You must either provide a PreloadDimensionProvider or override "
                                         + "getDimensions()");
    }
Returns the size of the view in the list where the resources will be displayed.

<p>
Note - The size returned here must precisely match those of the view in the list.
</p>

@deprecated Use {@link PreloadSizeProvider} instead. This method will be removed
in Glide 4.0.
@param item A model
@return The size of the view where the item will be displayed
core/src/main/java/com/bumptech/glide/ListPreloader.java