question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

frequent refresh listview..sometimes cause images flashing

See original GitHub issue

my adapter getView was simple :

 mSimpleDrawee.setImageURI(Uri.parse(item.img));

frequent call the method of notifyDataSetChanged, sometimes page kept flashing…

It seems caused by frequent load(or decode) pictures.
How to avoid it ? thank you !

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:23 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tmxdyfcommented, Jul 29, 2016

楼主解决了吗,求赐教!

0reactions
lushan1314commented, Sep 2, 2016

你是什么问题呢?这个问题,我试了新版本是没有问题了哦。

Read more comments on GitHub >

github_iconTop Results From Across the Web

ListView Bug Which Causes Flashing - App Inventor for iOS
Whenever I make a listView with a list of data and use the ai companion on my iPhone, it starts to make epileptic...
Read more >
Slow rendering - Android Developers
Ensure that the bitmap being displayed isn't significantly bigger than the area on screen it's showing in. If it is, that wastes upload...
Read more >
Optimize page performance in SharePoint | Microsoft Learn
No browser flashing caused by full page reload. ... Sometimes it is necessary to move the declaration of variables from <% %> to...
Read more >
Update recycler view content without refreshing the data.
Sometimes we need to update the content of the RecyclerView cells, the ViewHolders, but we don't want to add more information to our...
Read more >
Optimizing React Native performance - LogRocket Blog
Memory leaks can be caused by several factors, as discussed above. Sometimes, cached images can clog up the memory and cause issues. In...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found