I want to read the selected value of b4xPlusMinus (first view) and the updated text of B4XFloatTextField (second view). Both of them are on a customlistview. test app attached
The following code gives me error: java.lang.RuntimeException: Type does not match (class anywheresoftware.b4a.BALayout)
Could someone show me how, please?
The following code gives me error: java.lang.RuntimeException: Type does not match (class anywheresoftware.b4a.BALayout)
Could someone show me how, please?
B4X:
Sub CustomListView1_ItemClick (Index As Int, Value As Object)
LogColor($"index=${Index}, Value=${Value}"$, Colors.Green)
Dim xCLVItem As B4XView = CustomListView1.GetPanel(Index).GetView(0) 'first view in the layout index which is B4XPlusMinus
Log(xCLVItem.text)
Dim xCLVItem2 As B4XView = CustomListView1.GetPanel(Index).GetView(1) '2nd view in the layout index which is B4XFloatTextField1
Log(xCLVItem2.Text)
End Sub