How to use odd or even number?

in “of” of any Button Text you are passing local variable “number” it should be the ID of the Button.

okay, i try again.

i am unable to add this block
blocks (13) blocks (14)

You also need to add GetComponent Block from the extension between the two.

Just like you set ID of Create Block.

thanks wait i try again

1 Like

I don’t understand what you need but hope this help

why i am getting this error

my blocks image


i am trying to change height and width of all cardviews

in Any Card View Height you gave ID’s of Button.

sorry i mistakenly do this

1 Like

i am also getting a error

in “of” you forgot to Add Get Component Block from the Extension.

And all the properties ( any component property setter blocks ) are same for all 3 loops so, you need not to repeat them in every loop

make a new loop with all the properties that will save a plenty of Blocks.
Like -