Search code examples
androidandroid-listviewuniversal-image-loaderandroid-recyclerview

Content lost in RecyclerView after scrolling only on cheap devices


Im using RecyclerView to display a list of custom view, Custom view contain picture loaded by Universal Image loader and text view

But some random contents(exactly text only) of the each custom view are lost after the scrolling the RecyclerView down and scrolling back only on cheap devices. With new device like nexus 7 and galaxy s4 works perfect.

I have exactly the same code as in the tutorial: http://www.vogella.com/tutorials/AndroidRecyclerView/article.html


Solution

  • After several hours of searching and debugging all it turned out that my code is correct.

    The problem was very strange . From some reason the font color is random magical change to another on the cheap devices. Conclusion You can see in the picture below .

    When you change the background color , you can see a strange change the <code>TextView</code> .