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

glide 4.7 Does GIF have a play finished callback ? #3053

Closed
Everlastingsmile opened this issue Apr 26, 2018 · 2 comments
Closed

glide 4.7 Does GIF have a play finished callback ? #3053

Everlastingsmile opened this issue Apr 26, 2018 · 2 comments

Comments

@Everlastingsmile
Copy link

Glide Version:

Integration libraries:

Device/Android Version:

Issue details / Repro steps / Use case background:

Glide load line / GlideModule (if any) / list Adapter code (if any):

Glide.with...

Layout XML:

<FrameLayout xmlns:android="...

Stack trace / LogCat:

paste stack trace and/or log here
@sjudd
Copy link
Collaborator

sjudd commented Apr 26, 2018

Duplicate of #1872

@sjudd sjudd marked this as a duplicate of #1872 Apr 26, 2018
@sjudd sjudd closed this as completed Apr 26, 2018
@Everlastingsmile
Copy link
Author

@deprecated
public GifDrawable(Context context, GifDecoder gifDecoder, BitmapPool bitmapPool, Transformation frameTransformation, int targetFrameWidth, int targetFrameHeight, Bitmap firstFrame) {
this(context, gifDecoder, frameTransformation, targetFrameWidth, targetFrameHeight, firstFrame);
}

public GifDrawable(Context context, GifDecoder gifDecoder, Transformation<Bitmap> frameTransformation, int targetFrameWidth, int targetFrameHeight, Bitmap firstFrame) {
    this(new GifDrawable.GifState(new GifFrameLoader(Glide.get(context), gifDecoder, targetFrameWidth, targetFrameHeight, frameTransformation, firstFrame)));
}

GifDrawable:
In these two Constructor,How to get GifDecoder without reflection ?
Or,Do I have to use reflect if I want a callback for GIF play?

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

No branches or pull requests

2 participants