I want to write my first android app using the Android Studio and getting some problems.
I want to write a quizapp and for each answer I want to add a button. But the count of the answers should not be the same for each answer. Thats why I want to add the buttons dynamically. I saw some sample code where the buttons are added via code.
Is there any way where I DONT have to add each button via code? I'm thinking about a way like in WPF where I have a list with answers in my viewmodel and my xaml is generating the buttons (e.g. ListView with ItemTemplate) automatically.
Thx to MattMatt for answering my question!