The operation add items to list cannot accept the arguments: , [1], [2]
Note: You will not see another error reported for 5 seconds.
This issue is getting me tired, I've tried almost everything to solve it.
Here's the code:
What is "value" ?
The value of the tag from firebase
For example ?
2 = tag
asd = value
the code basically searches for the given tag and pastes it's value into a list
Are you initialising your global variable pckglist as a list ?
or a string
As a list of course
Ah, and the error only happens when i try to add a item to the list, the first one is added without problem
I am unable to replicate your problem (even with adding a second item)
What is the procedure clear_value doing ?
Also you should set the listview/listpicker to Elements, not ElementsFromString.
Clear value basically deletes the symbols [ ] and " of the value
There you have it then, you are converting pckgList from a list to string. This is why it works the first time but not the second.
There is no need to do "clear_value", you can easily extract values from a list.
Still the same error
I'll send the .aia
You set the pckglist to a string again at the bottom of your if statement
I'll erase it then and check
It worked, now I noticed my error, tysm!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.