@Override
    public DataFetcher<ImageVideoWrapper> getResourceFetcher(A model, int width, int height) {
        DataFetcher<InputStream> streamFetcher = null;
        if (streamLoader != null) {
            streamFetcher = streamLoader.getResourceFetcher(model, width, height);
        }
        DataFetcher<ParcelFileDescriptor> fileDescriptorFetcher = null;
        if (fileDescriptorLoader != null) {
            fileDescriptorFetcher = fileDescriptorLoader.getResourceFetcher(model, width, height);
        }

        if (streamFetcher != null || fileDescriptorFetcher != null) {
            return new ImageVideoFetcher(streamFetcher, fileDescriptorFetcher);
        } else {
            return null;
        }
    }
A wrapper model loader that provides both an {@link InputStream} and a
{@link ParcelFileDescriptor} for a given model type by wrapping an
{@link ModelLoader} for {@link InputStream}s for the given model type and an
{@link ModelLoader} for {@link ParcelFileDescriptor} for the given model
type.

@param <A> The model type.
core/src/main/java/com/bumptech/glide/load/model/ImageVideoModelLoader.java