Android Question PlacesAutocompleteView lv_SelectedChanged can't fire when it's in xCustomlistview

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

I am adding a panel into XCustomListview. Inside this panel, PlacesAutocompleteView is loaded as a layout. The search function works properly, and the Places are loaded into the TableView. However, when I click on any of the Places instead of the TableView, the click function of XCustomListview is triggered.

How can I solve this issue?

B4X:
Dim PanelInput As B4XView = xui.CreatePanel("PanelInput")
PanelInput.SetLayoutAnimated(0,0,0,CustomListView1.AsView.Width,GetDeviceLayoutValues.Height/2)
PanelInput.LoadLayout("1") 'PlacesAutocompleteView
CustomListView1.Add(PanelInput,"")

Thank you.

Best regards.
 
Top