Android Question A "types do not match" Error

Mashiane

Expert
Licensed User
Longtime User
Hi

I'm a little bit stuck here..

In my class I have a method...
B4X:
Sub Initialize(pg As AMPage, sID As String, sTitle As String)
....
End Sub

I run my class and everything executes properly. I then define another method in the same class

B4X:
Sub InitializeFooter(pg As AMPage, sID As String)
    Initialize(pg,sID,"")
    Position = EnumHeaderPosition.bottom
    Mode = EnumMode.toolbar
End Sub

I am now getting a types do not match error in
B4X:
Initialize(pg,sID,"")

What am I missing here? On the error log it says ',' expected before the 'types do not match' entry

Thanks
 
Top