Code example for SpinnerAdapter

Methods: getView

			return mAdapter.hasStableIds();
		public View getView(int position, View convertView, ViewGroup parent) {
			View view = mAdapter.getView(position, convertView, parent);
			if (showHintOnce || alwaysShowHint) {
				// Set this false for next time (even if alwaysShowHint is true) 
				showHintOnce = false;
				 * It's possible that we're wrapping an adapter that doesn't 
				 * make TextViews. If the adapter *is* making TextViews, we'll 
				 * use their view instead of inflating a new one. Otherwise, 
				 * we'll inflate the default spinner item. 
				if (!(view instanceof TextView)) {
					view = LayoutInflater.from(getContext())