Android Question invoke an event from another event

I wish I could invoke an event from another event, example:

To remove an element from a CustomListView I use the event of this object

B4X:
Sub CustomListView_ItemClick (Index As Int, Value As Object)
CustomListView.RemoveAt (Index)
End Sub

Now my question is how can I invoke this event from the click of a button?
 

DonManfred

Expert
Licensed User
You can create a button click sub and call CustomListView.RemoveAt (Index) here. Where is the problem?
 
Upvote 0
Top