i am working on android spinner control. i already have populate list of string to show in spinner like
String[] items = new String[]{ "Office", "Home", "College", "Uncle's Home", "CoDebuggers"};
        ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_dropdown_item, items);
        SpinnerName.setAdapter(adapter);
this is working well but i need to add unique id for my list like
- Office = 4 
- Home = 8 
- College = 9 
- Uncle's Home = 10 
- CoDebiggers = 55 - how can i set there value with String list? and how can i get these values by selected item change? 
 
     
     
     
    