android - Display a specific spinner depending on radio button selection -


i working on android application want user select radiobutton corresponding 1 category, , add spinner within same layout, displayed spinner depends on radio button selected. means each radiobutton have different spinner. know how add view layout wondering how might go storing each of individual spinners , requesting them when corresponding category selected. possible store them within layout activity , select correct 1 using findviewbyid?

agree trushit

add spinners in view & on performing radio button event set visibility of spinners.

yourspinner.setvisibility(view.visible); 

&

yourspinner.setvisibility(view.gone); 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

php - ternary operator in a dynamic dropdown menu -