In Android I was practicing recycling view and I notice when i am contverting an String type array into Integer type list it is working fine as well as when i am putting string type list into Interger type ArrayAdapter it is working fine.
String[] words = {"One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten"};
List<Integer> listOfWords = new ArrayList(Arrays.asList(words));
ArrayAdapter<Integer> adapter = new ArrayAdapter(this, android.R.layout.simple_list_item_1,listOfWords);
ListView listView = (ListView) findViewById(R.id.list);
listView.setAdapter(adapter);