We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@GlideModule public class GlideAnimationModule extends LibraryGlideModule { @OverRide public void registerComponents(@nonnull Context context, @nonnull Glide glide, @nonnull Registry registry) { super.registerComponents(context, glide, registry); ....... registry.append(FrameSeqDecoder.class, new ApngDrawableEncoder()); } }
public class ApngDrawableEncoder implements ResourceEncoder {
@NonNull @Override public EncodeStrategy getEncodeStrategy(@NonNull Options options) { return EncodeStrategy.SOURCE; } @Override public boolean encode(@NonNull Resource<FrameSeqDecoder> data, @NonNull File file, @NonNull Options options) { return false; }
}
大佬看看这个demo是否有啥问题
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@GlideModule
public class GlideAnimationModule extends LibraryGlideModule {
@OverRide
public void registerComponents(@nonnull Context context, @nonnull Glide glide, @nonnull Registry registry) {
super.registerComponents(context, glide, registry);
.......
registry.append(FrameSeqDecoder.class, new ApngDrawableEncoder());
}
}
public class ApngDrawableEncoder implements ResourceEncoder {
}
大佬看看这个demo是否有啥问题
The text was updated successfully, but these errors were encountered: