NLok
Member
If the list item of my CustomView(clvList) is selected through the button.tag value in the CustomView (clvItem) of other pages. So how do I get the original button.tag value instead of the sequential value(index) in Sub swipe_ActionClicked in CustomView (clvList).
Because when you choose to press the first item option of CustomView (clvList), its index will show 0. How to get the original value of button.tag in the first item option of CustomView (clvList) (for example, its original value is A03)
Because when you choose to press the first item option of CustomView (clvList), its index will show 0. How to get the original value of button.tag in the first item option of CustomView (clvList) (for example, its original value is A03)
B4X:
Sub Swipe_ActionClicked (Index As Int, ActionText As String)
Log($"Action clicked: ${Index}, ${ActionText}"$)
If ActionText = "Delete" Then
CustomListView1.RemoveAt(Index)
End If
End Sub
Last edited: