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

列表同时加载多个webp动图卡顿 #124

Open
maodeyu180 opened this issue Nov 30, 2023 · 0 comments
Open

列表同时加载多个webp动图卡顿 #124

maodeyu180 opened this issue Nov 30, 2023 · 0 comments

Comments

@maodeyu180
Copy link

列表同时加载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);

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

1 participant