What I want to do is create a layout of checkboxes where the number of checkboxes is decided by the user.
like if i say 5 then on the next page of my app, 5checkboxes should appear.
also, I want the text besides this checkbox to be auto filled from 1 to 5.
Or suppose I replace checkboxes with buttons, the buttons shold be created dynamically and also,in case of the buttons, the button should change color to represent that it is clicked.
how do I do this?
Thankyou!
This is a snippet from my code. Which doeas what you are asking for.
Of course you have to configure the layout options according to your needs.