开发者

Android: Making spinners appear after an option in another spinner is selected

I would like to know if it is possible to make spinners appear below a spinner with text based on the selected spinner. Basically, lets sa开发者_如何转开发y there are 3 spinners (A, B, C). I want B and C to appear after anything from A is selected (besides the default option). I want C to appear then after anything besides the default is selected from spinner B.

I have found resources with dynamically populating a spinner from a database which is partially what I am trying to do. Does anyone have any suggestions or am I going to have to just have the enabled permissions change on currently placed spinners?


just On selection listener of the first spinner, call a function to populate the second spinner and set it visible.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜