I am building an android application where the user selects his event from spinner tool.
The Spinner tool displays the array list that user had selected first time the application is launched.
Now I had parsed the array list from app launch page to spinner activity class an using it in spinner tool success full now.
Here is code:
public static ArrayList<String> array;
Here, the name array has the arraylist. I need to store this in sharedprefrences. How can I do this ?
I am new to android.