Android Question Return of row number clicked using _Click event

gilsonmv

Member
Return of row number clicked using _Click event

Hello everyone,

ListView1_ItemClick(Position As Int, Value As Object) returns the row number clicked when reading the contents of Value.

How can I do the same thing using ListView1_click ?
I tried:

Dim pos As Label
pos.top

.top returns the row position clicked, but the value varies when I install the app on another phone with a different screen.

obs: I need to use ListView1_click because I need the instruction: Sender

thanks.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…