Sub TableView1_SelectedChanged (SectionIndex As Int, Cell As TableCell)
Log("SelectedChanged: " & Cell)
End Sub
Did you try it with the exact code from this example: https://www.b4x.com/android/forum/threads/tableview-action-swipe-buttons.61111/ (+ the event sub) ?
This is expected as your panels consume the touch event
You can handle it instead of the SelectedChanged event.
Maybe I misunderstood. Do you use custom views for the TableView items?
TableView1.Initialize("TableView1", False)
For i = 1 To 1000
Dim tc As TableCell = TableView1.AddSingleLine($"Item #${i}"$)
tc.AddActionButton("Delete", Colors.Red)
tc.AddActionButton("Change Value", Colors.Green)
Next
Page1.RootPanel.AddView(TableView1, 0, 0, 100%x, 100%y)
If you can please create a small project that demonstrates the problem and upload it.
You will need to remove the Click event from the panel.
The TableView hides the views in the back. Are you sure that they are still clickable?
No. You said that you need to handle the panel's click event to avoid underlying views from being touched.
You will need to add another panel under the TableView and handle its click event.(below the tableview and between the 2 buttons)
Not really related to Java. This is how the Android and iOS UI frameworks work.to be true i never understood why it is working like this in B4x that an underlying view can be clicked if the above view doesnot have a click event. in VB you cannot do this. is this a JAVA feature?
You will need to add another panel under the TableView and handle its click event.