I am using TextView boxes on a ScrollView to input data items. Upon click on any box the click event gets fired. It works fine for all TextView clicks but only the first time. Any subsequent click on a box that was clicked before does not fire the click event even when the TextView is not in focus.
The representative statements are-
..draw 5 boxes on a scroll panel with specific tags..
Each box is initialized as it is placed on the ScrollView with -
Clicks are captured in-
This sub gets fired only on the first click on the box. Click on the once-clicked item remain ignored at all other times. I need the click to fire each time when any box is clicked.
How can I resolve this issue while using TextView?
The representative statements are-
B4X:
Dim txt1(10) As TextView
Each box is initialized as it is placed on the ScrollView with -
B4X:
txt1(m1).Initialize("txt1")
B4X:
Sub txt1_Click
Dim edt As TextView
Dim row1 As Int
edt = Sender
row1 = edt.Tag
Log("Clicked box is “ & row1)
End Sub
This sub gets fired only on the first click on the box. Click on the once-clicked item remain ignored at all other times. I need the click to fire each time when any box is clicked.
How can I resolve this issue while using TextView?