android studio listview arrayadapter

Solutions on MaxInterview for android studio listview arrayadapter by the best coders in the world

showing results for - "android studio listview arrayadapter"
Kirsty
03 Mar 2018
1//Creating the Adapter:->
2
3ArrayAdapter<String> itemsAdapter = 
4    new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, items);
5
6//Setting the Adapter:->
7	listView.setAdapter(itemsAdapter);