Code example for Spinner

Methods: getCount, setSelection