Code example for AdapterView.OnItemSelectedListener

Methods: onItemSelected

0
      { 
         HDHomerunLogger.d("ArraySpinner: Ignore"); 
      } 
      else 
      { 
         listener.onItemSelected(parent, view, pos, id);
      } 
 
      mPrevSelectedItemPos = pos;
   } 
 
   @Override 
   public void onNothingSelected(AdapterView<?> parent)
   { 
      listener.onNothingSelected(parent);
   } 
 
   /** 
    * This function sets the spinner's position without calling 
    * the onItemSelected function of the onItemSelectedListener object 
    * @param pos The position to set the spinner to