Android App Development 6: How To Use Spinner Example Tutorial

preview_player
Показать описание
Hello guys Welcome to my channel

in Today's video i will show you how to use Spinner Control example tutorial in android app, How to use Spinner's OnItemSelected Event()
Spinner is basically kind of dropdown menu from which you choose a selection

the steps involves
step1: drag a spinner onto the view
step 2: Data Source: means from where the data is going to be retrieved it could be Xml data resource , database, text files, arrays or ArrayList
step3: create adaptor object populate the data with and display in spinner

first of i will be using the data sourec Xml
lets start
we have just loaded spinner with data now what will happend if user select it
we need sp click even

lets Create a ArrayList and Show data in Spinner

Thanks for watching
Like Subcribe and Share
Рекомендации по теме
visit shbcf.ru