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

In glide 4.7 ,Do I have to use reflect if I want a callback for GIF play? #3070

Closed
Everlastingsmile opened this issue May 4, 2018 · 1 comment

Comments

@Everlastingsmile
Copy link

Glide 4.7 :
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 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?

@sjudd
Copy link
Collaborator

sjudd commented May 7, 2018

Duplicate of #1872

@sjudd sjudd marked this as a duplicate of #1872 May 7, 2018
@sjudd sjudd closed this as completed May 7, 2018
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