Answer the question
In order to leave comments, you need to log in
gridview. Why does cell filling disappear when scrolling?
There is a GridView table of cells: imageview+textview. It is filled with an adapter from a database that contains a color/description and is applied as imageview.setBackgroundColor(0x5ryg654...); The background is applied to the cells at startup, the colors are displayed when scrolling down, but when scrolling back up - the unique colors disappear (no background), as if the GridView is redrawn but without an adapter (i.e., the background specified in xml is applied). Why is that? There are no such problems in ListView, although the approach is the same
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question