{ return new MySpinnerWatcher() { @Override public void onItemSelected(AdapterView<?> parent, View v, int position, long id) { super.onItemSelected(parent, v, position, id); if (position >= MyConstants.zeroi && position + HINT_OFFSET != mStatusPosition){ mHasDataChanged = true; mStatus = String.valueOf(parent.getAdapter().getItem(position + HINT_OFFSET)); } } }; }