Property getter was expecting a com.google.appinventor.components.runtime.Label component but got a YailList instead

Hi there!
I am creating a quiz app. It has a screen where the user can add a question in the programme.
I want to make the app be able to detect possible bugs. The correct answer's label text has to be the same as one of the possible answers, but it doesn't run properly, it shows me the following error: Property getter was expecting a com.google.appinventor.components.runtime.Label component but got a YailList instead.

I would appreciate it a lot if you can help me.

Here you have an image of the blocks. I can't import the aia file because I have a weak Internet connection.

image
socket component need a component, but you give it a list...

I don't understand at how work the any component blocks. Do I have to select a specific component? I put a list in order to compare the text of 7 different labels, isn't that possible?

yes

How can I write more than one condition in an "if, then" block?
For example, I want to say: If label 1, label 2, label 3 and label 4 are in green; set Ready_Button.enabled to true.

This tutorial explains how to use the if then Blocks Programming Your App to Make Decisions

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