Dynamic Checkboxes not working

Trying to set up dynamic rows consisting of a checkbox, a label and a button.
Screenshot from 2020-09-07 14-42-41

Found an example and tried to modify it. The blocks look like this:

Screenshot from 2020-09-07 14-24-24

When I click btnEngage, I get this error:

Screenshot from 2020-09-07 14-46-48

I don’t know what this error means. I want to read an SQLite DB and display a row as above for each DB cell in a given column. But I can’t get past this error. Are checkboxes not Dynamic?

Component name, should be CheckBox

bild

1 Like

A way to find out the component name.

bild

Thank-you Boban, that worked. :grin: However, I’ve looked everywhere in the Designer and the Blocks sections and the word “Checkbox” is never spelled with a capital B; neither is “Label”. :rofl:

Seriously, how would one be expected to know that?

Well, CheckBox  |  Android Developers… Provided the Label component was actually named TextView :worried:

Thanks for the pointer. I did understand the convention, but just about everywhere in the known world except Android, “checkbox” is one word. :grinning:

I try to stay as far away from the actual Java language as possible, no offense. I’m not smart enough to learn Java, my head exploded the last time I tried. :face_with_head_bandage:

Love playing with Blocks, though.

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