I have a
ListView with caching strategy set to
RecycleElement, where each cell has a certain number of context actions implemented with
In Android, when the user long presses on a cell the actions are shown and the background color of the selected cell is changed. The problem is that if the user starts scrolling down the list while a cell is selected, after the selected cell goes out of the screen, another cell at the bottom appears with the background color changed, as if it was selected, and this happens repeatedly (if one has enough list items), and this is confusing. The issue is not present when using the
RetainElement caching strategy, to this should be a problem related to the recycling of cells.
Any ideas about to solve this issue?