iOS Question xCustomListView Add "Too Many Parameters" [SOLVED] {TAKE 2]

mmieher

Active Member
Licensed User
Longtime User
Hi, Geniuses!

I am having the same problem as https://www.b4x.com/android/forum/threads/xcustomlistview-x2-errors.92974/#content

My xCustomListView library is 1.62.

No syntax error indicated here:

B4X:
    Dim clvMenu As CustomListView    ' This is in Process Globals

        Dim tDesc As String = rS.GetString("catdesc")
        Dim cli As Panel = CreateCatItem(tDesc,clvMenu.AsView.Width,25dip)
        Dim NullItem As Int = -1
    '    clvMenu.Add(cli,30dip,-1)
        clvMenu.Add(cli,NullItem)

When compiling I get an error on the clvMenu.Add line. "Too many parameters". As you can see, there are clearly two parameters.

Have tried Clean, etc. If it makes any difference, I was orginally using the built-in CustomListView

Any ideas?
 

mmieher

Active Member
Licensed User
Longtime User
[SOLVED] I was referencing the library xCustomListView because I thought I had to. Apparently, that was a mistake.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…