Code example for SpinnerAdapter

Methods: getDropDownView

              new View(context) :
        // Could re-use the convertView if possible, use setTag... 
        return adapter.getDropDownView(position - EXTRA, null, parent);
     * Override this to do something dynamic... For example, "Pick your favorite 
     * of these 37". 
     * @param parent 
     * @return 
    protected View getNothingSelectedDropdownView(ViewGroup parent) {
        return layoutInflater.inflate(nothingSelectedDropdownLayout, parent, false);
    public int getCount() { 
Stop searching for code, let great code find you!  Add Codota to your java IDE