Code example for Spinner

Methods: setOnItemSelectedListener