@Override
    public int[] getPreloadSize(T item, int adapterPosition, int itemPosition) {
        if (size == null) {
            return null;
        } else {
            return Arrays.copyOf(this.size, this.size.length);
        }
    }
Constructor that will extract the preload size from a given {@link View}.

@param view A not null View the size will be extracted from async using an {@link android.view.ViewTreeObserver
            .OnPreDrawListener}
core/src/main/java/com/bumptech/glide/util/ViewPreloadSizeProvider.java