Hello. I created a layout in the designer with a xGauges Class from (https://www.b4x.com/android/forum/threads/b4x-xui-xgauges-class.98932/#content), and tried to insert the layout into a CustomListView, but was unable to individually access each xGauge. For example the below code:
would give a 'Types do not match warning' and a 'java.lang.RuntimeException: Field: ba not found in: android.widget.CheckBox' error
any idea on how to do it?
B4X:
Sub CheckBox1_CheckedChange(Checked As Boolean)
Dim index As Int = CLV1.GetItemFromView(Sender)
Dim pnl As B4XView = CLV1.GetPanel(index)
Dim xgau As xGauges = pnl.GetView(index)
xgau.Value= 50
would give a 'Types do not match warning' and a 'java.lang.RuntimeException: Field: ba not found in: android.widget.CheckBox' error
any idea on how to do it?