I would like to know if there is any way to access a spinner selected item while we set it to hidden ? I've tried spinner.setVisibility(View.GONE)
but then the selected item is null. Looks like this method resets selected item to null :/
The reason I need to do it is because I want the spinner to have a value depending on the user logged in (Spring WS) but then I want only to show the spinner if admin mode is activated. It's not active by default and since I need to access this value from other activities (without adding parameters) I can't manage to find a solution.
Thanks forward :)