Android Question ListView does not respond to click

Oscarillo

New Member
I have a ListView defined with dim as ListView1
When I use the


B4X:
Private Sub ListView1_ItemClick (Position As Int, Value As Object)
    EditText1.Text=ListView1.GetItem(Position)
    'ListView1.Visible=False
    ToastMessageShow("Click",True)
    Button1_Click
End Sub

Nothing happens

Any help would be appreciate
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Oscarillo

New Member
Thanks you.
It was a very dumb problem.
I have 2 listviews, I was calling the click on the wrong one, and because one is in front of the other and I jump between them I was calling the click on the wrong one.
Apologies for the post.
 
Upvote 0
Top