Skip to content

Remove animation on GifTextureView #745

Closed
@archie94

Description

@archie94

The documentation says

Sets the source of the animation. Pass {@code null} to remove current source.
Equivalent of {@code setInputSource(inputSource, null)}.

However the Texture view seems to persist the last frame of the animation. Is this the intended behavior?

On a GifImageView doing

gifImageView.setImageDrawable(null)

removes the animation completely. It would be nice if we can have consistent behavior across the two Gif views.
Excited to know your thoughts on the same.

Reproducible commit

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions