I was fooling around with Android and my Java knowledge is limited at best (for instance, I\'m perplexed by the fact that it allows inline classes!?).
My question is as
Try to use this :
switch(parent.getId()) { case R.id.spinner1: Log.d(TAG,"spinner1"); break; case R.id.spinner2: Log.d(TAG,"spinner2"); break; }
good luck !