-
Notifications
You must be signed in to change notification settings - Fork 91
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
列表同时加载多个webp动图卡顿 #124
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
列表同时加载6个webp动图卡顿,native内存急速增加,缓存完一遍后webp动图播放正常。
有优化空间吗?
CustomGlideCornerTrans crop = new CustomGlideCornerTrans(radius,radius,0,0); Glide.with(viewBinding.ivShow.getContext()) .load(imgUrl) .addListener(webpListener) .optionalTransform(crop) .optionalTransform(WebpDrawable.class,new WebpDrawableTransformation(crop)) .apply(options) .set(WebpFrameLoader.FRAME_CACHE_STRATEGY, WebpFrameCacheStrategy.ALL) .set(WebpDownsampler.USE_SYSTEM_DECODER,false) .into(viewBinding.ivShow);
The text was updated successfully, but these errors were encountered: