Considering the code below (Xamarin - c#), how would you retrive the selected value of the RadioGroup?
var root = new RootElement ("Meals") {
new Section ("Dinner"){
new RootElement ("Dessert", new RadioGroup ("dessert", 2)) {
new Section () {
new RadioElement ("Ice Cream", "dessert"),
new RadioElement ("Milkshake", "dessert"),
new RadioElement ("Chocolate Cake", "dessert")
}
}
}
}
Thank you
I stopped coding for a while and when I came back I realized how to do it: