There afterimage phenomenon Android ListView hand slowly slides

2019-12-11

Keywords: ListView when sliding Caton


 

During this time when writing APK, accidentally discovered the author of the ListView when following a slow slide your finger there Caton phenomenon, or the "blur." At first I thought it was the phone problem, but I changed several phones, even on a virtual machine to be tested only to find later that there is this image retention is a real problem. Gif effect phenomenon shown below:

The renderings look is not very clear, but the specific phenomenon is that when dragging a finger while slowly sliding ListView, you can clearly see the item of the list will change in height, had a similar item blur during sliding the same.

 

The reason I have come across this problem is that the author of the ListView divider set a null.

 

If you do not want the ListView divider, then directly to its color to transparent drawable, but do not set it to null.

 

But the reason I did not go to the issue of research, perhaps in the future there are busy, and are interested in the track will go about it.

 


 

Guess you like

Origin www.cnblogs.com/chorm590/p/12021671.html