bumptech / bumptech/glide

Request a way that pass data from ModelLoader to ResourceDecoder.

Open
#4,966 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

**Glide Version**:
4.14.2

**Integration libraries**:
com.github.bumptech.glide:glide4.14.2
com.github.bumptech.glide:okhttp3-integration:4.14.2
com.github.bumptech.glide:compiler:4.14.2

**Device/Android Version**:
Pixel 5, Android 13

**Issue details / Repro steps / Use case background**:
I use custom ModelLoader to load custom entry, and the entry have a zip file to load,.
The zip may from android assets, uri, or url, and i don't want to load this file and cache it by myself, but want to use glide loader to load it to InputStream and decode it.
And when i decode the zip InputStream, the zip has a password, and the ResourceDecoder input is a InputStream,there is no way to get the password.
So I create this issue to find out , if there is a way to pass data to StreamDecoder?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.