@Override
        public ModelLoader<Integer, InputStream> build(Context context, GenericLoaderFactory factories) {
            return new StreamResourceLoader(context, factories.buildModelLoader(Uri.class, InputStream.class));
        }
The default factory for {@link StreamResourceLoader}s.
core/src/main/java/com/bumptech/glide/load/model/stream/StreamResourceLoader.java