Simple code demoing the use of a spinner.