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

GifTextureView end listener #798

Open
Kj7r8Ff3h opened this issue Jun 7, 2022 · 2 comments
Open

GifTextureView end listener #798

Kj7r8Ff3h opened this issue Jun 7, 2022 · 2 comments

Comments

@Kj7r8Ff3h
Copy link

I am using GifTextureView to display gif images and it works great.

val inputSource = InputSource.ResourcesSource(requireContext().resources , R.drawable.test)
binding.ivTest.setInputSource(inputSource)

However, I need to perform some tasks once gif is completed. May I know how to achieve it?
I have tried GifImageView before and it is blinking
Thanks

@koral--
Copy link
Owner

koral-- commented Jul 20, 2022

Currently, there is no such feature in GifTextureView.
I will keep this issue open as a feature request.

@koral--
Copy link
Owner

koral-- commented Jul 20, 2022

Regarding GifImageView blinking you may try this: https://github.com/koral--/android-gif-drawable/issues/267#issuecomment-206962158

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

No branches or pull requests

2 participants