I am working on an android project and I am using a spinner which is populated manually. For example if, in the spinner I have the following items:
select
Category 1
Category 2
Category 3
Initially the spinner value is select now i selected category 2 How would I programmatically make Category 2 as the default value for next session(opening the app next time). Thank you.