How to include several Radiobutton?

Asked

Viewed 93 times

0

I was interested in making an APP with 30 personality profile questions, where each question will have two choices. I thought of using the RadioButton, but as there are 30 questions I would not like to include them all on the screen at once, I would like to display only one question with two alternatives and each selection of one of the alternatives already called the other question.

This is possible without creating 30 activities?

I didn’t want to create that amount of activities, but if there’s no way, that’s it.

1 answer

4


I assume you’re talking about Apps for android...

You can for example have the possible questions and answers in arrays, when the person answering presses a "next" button, which updates the values according to the array.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.