Android Question error in xCustomListview?

D

Deleted member 103

Guest
Hi,

am I doing something wrong or is there an error in xCustomListview?
When I click on an item, the color of the item should change briefly and not the background of the item, right?
In the appendix an example with B4a and B4j.
 

Attachments

  • testCustomListview.zip
    15.9 KB · Views: 130

Erel

B4X founder
Staff member
Licensed User
Longtime User
No, the background item color changes, temporarily.
That's true.

You can disable the default selection effect and implement a different one. This is done by setting the "Pressed Color" designer property to transparent. You can then implement the selection effect in the ItemClick event.
 
Upvote 0
D

Deleted member 103

Guest
Thanks, now I understand it.
Of course it would be better if it could be set in the library, but that's how it works.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…