I want to set the spinner value using String[] or ArrayList.
I have done spinner in other activity working fine.In this activity inside the Tab acivityGroup another
viewToLoad = getLayoutInflater().inflate(R.layout.line_discount, null); (viewToLoad.getContext(), android.R.layout.simple_spinner_item, proList); adapter.setDropDownViewResource(android.R.layout.simple_spinner_item);
This did the job for me