Android Question Error on compiling corwin42's worldclock widget

amiria703

Member
I wanted to have resizable widget, So I searched the forum for that and i found this:
link
However, when I compile the app it show me this error:
B4A Version: 10.2
Java Version: 8
Parsing code. (0.09s)
Building folders structure. (0.45s)
Running custom action. (1.02s)
Compiling code. Error
Error compiling program.
Error description: Too many parameters.
Error occurred on line: 111
VP.Initialize(PC, "VP")
Word: VP
 

amiria703

Member
B4X:
Dim VP As AHViewPager
However VP.initialize just can give one parameter but in this he gave it two?!:
B4X:
VP.Initialize(PC, "VP")
 
Upvote 0
Top