Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request LottieCompositionFactory fromXXXInputStream close param to be public. #2252

Closed
peerless2012 opened this issue Mar 1, 2023 · 3 comments · Fixed by #2286 or #2319
Closed

Request LottieCompositionFactory fromXXXInputStream close param to be public. #2252

peerless2012 opened this issue Mar 1, 2023 · 3 comments · Fixed by #2286 or #2319

Comments

@peerless2012
Copy link
Contributor

I use Lottie in Glide, and decode it in ResourceDecoder which has InputStream, when I use LottieCompositionFactory.fromJsonInputStreamSync and LottieCompositionFactory.fromZipStreamSync, they all close the InputStream, but I don't want LottieCompositionFactory close the InputStream.

I think, make the private LottieCompositionFactory.fromJsonReaderSyncInternal and LottieCompositionFactory.fromZipStreamSyncInternal to be public will be better.

@gpeal
Copy link
Collaborator

gpeal commented May 9, 2023

Reopening to add support for zipinputstream

@peerless2012
Copy link
Contributor Author

When will publish this feature ?

@gpeal
Copy link
Collaborator

gpeal commented Jun 25, 2023

I'll probably publish 6.1.0 soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants