Android Question Revert customListView Pressed Color back to the Divider Color

Azhar

Active Member
Licensed User
Longtime User
Hi

In the Designer, I have a customListView Control with Divider Color set to #FF416B6D and Pressed Color to #FF45A1A6 with animation 300.
When the control is pressed, it starts another activity with it's own form. When I return back to the customListView, the item clicked on still persists in it's pressed color and I can't seem to code it back to it's un-pressed colour.

How can this be done?

Thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
When the control is pressed, it starts another activity with it's own form. When I return back to the customListView, the item clicked on still persists in it's pressed color and I can't seem to code it back to it's un-pressed colour.

How can this be done?
Simplest solution is to add Sleep(300) before you start the next activity.
 
Upvote 0
Top