开发者

Spinner On item selected display/get listview

开发者 https://www.devze.com 2023-02-07 15:59 出处:网络
I woul开发者_Go百科d like to display a listview when an item is selected in Spinner. The listview should appear just below the spinner in the same layout based on the item selected.

I woul开发者_Go百科d like to display a listview when an item is selected in Spinner. The listview should appear just below the spinner in the same layout based on the item selected.

Ex: When a customer's name is selected in a Spinner, his details should appear in a listview.

Any help would be appreciated.


for this defined our layout file as LinearLayout | | |_SpinnerView | |_____LinearLayOutFor ListView

and dynamically u take one listView and add that listview ti LinearLayout when spinner item click listener

0

精彩评论

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