Value in spinner in android
<p>I have created a spinner widget on which the value are year from 2010 to 2014. My problem is that I want to have the value of the present year, previous year and next year. What i want to ask, is that the value should automatically changes once the year is updated. Like for example: Present year-2012, Previous year 2011, Next Year-2013. So if the year is now 2013, the Previous year should be change to 2012, present year is 2013, and next year is 2014.</p>
