Lets start with the code
I'm getting the error msg "Current declaration does not match previous one" occuring at the
line.
Does B4A not allow this sort of thing or is there a proper way of doing this?
B4X:
Sub FillItems(Sel as String, ObjToFill As Object)
If ObjToFill Is Spinner Then
Dim obj As Spinner
obj = ObjToFill
Else If ObjToFill Is ListView Then
Dim obj As ListView
obj = ObjToFill
End If
... code ...
End Sub
I'm getting the error msg "Current declaration does not match previous one" occuring at the
B4X:
Dim obj As ListView
Does B4A not allow this sort of thing or is there a proper way of doing this?