简体   繁体   中英

Android:How to get value of dynamically generated (Checked)Radio Button with in List Activity and where to define RadioGroup (in Layout) for List?

1)I used list for generating (dynamically) radio button list in list activity and list is filled from database. I want value of checked radio button.

2)Another thing:In layout where should have i declare RadioGroup ?? before tag or in layout file where radio button is declared

Thanks in advance

from your above description i think u need to use the custom adepter

HERE is the link from the u can got the idea

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM