Open mkazemian opened 3 years ago
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug" or "enhancement" and I will leave it open. Thank you for your contributions.
am trying to use fresco to load my images in Recyclerview, but I noticed that after scrolling a bit and adding new items, RecyclerView will lag. It looks like I have to use Resize but I still do not see any change in the resize code I write! Maybe I coded it wrong What do you think ?
holder.img_cover.aspectRatio = item.ratio.toFloat() val request = ImageRequestBuilder.newBuilderWithSource(Uri.parse(item.media)).setResizeOptions(ResizeOptions(50, 50)).build() holder.img_cover.controller = Fresco .newDraweeControllerBuilder() .setOldController(holder.img_cover.controller) .setControllerListener(MyControllerListener()) .setImageRequest(request) .setUri(item.media).build()
https://stackoverflow.com/questions/67383008/how-to-resize-images-with-fresco