Android Question xCustomListView click events

pipocas

Member
Hi all,

having a little problem understanding click events in the xCustomListView, when used in B4A and B4J. Please have a look at the two attached samples. Same B4xPages code, but the click event in b4j fires from clv_itemClick, while in android it fires from the panel added to the list. What am i missing ?

TIA
 

Attachments

  • teste_b4a.zip
    10.2 KB · Views: 66
  • teste_b4j.zip
    3.1 KB · Views: 58

Erel

B4X founder
Staff member
Licensed User
Longtime User
Correct way to export B4XPages projects:

1661238720436.png


There is no Click event for pane(l)s in B4J. So the event sub is ignored and the event reaches the underlying CLV.

There is a MouseClicked event.
 
Upvote 0
Top