private String[] LIST_ITEM_TEXT_CITIES = { "Los Angeles", "Chicago", "Indianapolis", "San Francisco", "Oklahoma City", "Washington" };
private List<String> cityList;
cityList = Arrays.asList(LIST_ITEM_TEXT_CITIES);adapter = new ArrayAdapter<String>(getApplicationContext(), R.layout.activity_list_row, cityList);
No comments:
Post a Comment