auto start/stop when GifImageView visibility changed?
magicchao opened this issue · 0 comments
magicchao commented
I need to stop gif RenderTask running when the GiftImageView is not visible, and resume when visible, because it spends CPUs
So can this be added to GiftImageView, maybe using onVisibilityChanged, as an option?
We have recyclerViews in viewpager, in which there are GiftImageViews. We found that the GiftImageViews in recyclerView that is not current visible tab are running RenderTasks