above code will generate spinners dynamically, when we will click on any spinner then that method will call.OnItemSelectedListener listener=new OnItemSelectedListener(){ @Overridepublic void onItemSelected(AdapterView<?> arg0, View view, int position,long arg3) {
Notice the AdapterView<?> argument (arg0)? That is your spinner (and 'view' is the sub-view of the spinner that was clicked - one of the arrows, presumably).
Please try and read the documentation for the classes you are using - even for listeners. It may not be perfect but in a lot of cases it does give the information you need.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

