Hi!!
I get this error:
B4A version: 6.00
Parsing code. (0.04s)
Compiling code. (0.10s)
Compiling layouts code. (0.03s)
Organizing libraries. (0.00s)
Generating R file. (0.64s)
Compiling debugger engine code. (1.79s)
Compiling generated Java code. Error
B4A line: 264
If v Is CustomListView Then
javac 1.8.0_66
src\b4a\example\main.java:490: error: incompatible types: View cannot be converted to customlistview
if (_v.getObjectOrNull() instanceof b4a.example.customlistview) {
The code...
Dim panel As Panel
panel = Activity.GetView(2)
For Each v As View In panel.GetAllViewsRecursive
Log(v.Tag)
If v Is CustomListView Then 'I suppose is here
'code
else if v Is EditText Then
'code
End If
Next
How can I solved it??
thanks in advance
edit:
this also fails..
Dim panel As Panel
Dim k As CustomListView
panel = Activity.GetView(2)
k = panel.GetView(4)' index of customlistview