Error from companion : invoke: no method named 'ListData' in class

I used a ListView and added one string to ListData, but then I got this error :
Error from Companion: invoke: no method named `ListData' in class com.google.appinventor.components.runtime.ListView

How can I solve this? Thanks

Please show how you are setting your data to listview

캡처2
I set the data in listviews properties

And ther error comes when ...?

It happened just after I tried connecting it to AI companion

Companion version ? Also are you testing android or ios ?

version 2.6 and I'm testing on android

Try to update companion to 2.62 and see if it works for you

It works! Thank you so much:)

1 Like

You are welcome :slight_smile:

If you've found your solution, please mark the appropriate post as the Solution; this way, you will help other people.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.