方法一:
String[] newsItem = {"条目1","条目2","条目3"};
ArrayList<String> list = new ArrayList<>();
Collections.addAll(list, newsItem);
方法二:
String[] newsItem = {"条目1","条目2","条目3"};
List<String> Item = Arrays.asList(newsItem);
方法一:
String[] newsItem = {"条目1","条目2","条目3"};
ArrayList<String> list = new ArrayList<>();
Collections.addAll(list, newsItem);
String[] newsItem = {"条目1","条目2","条目3"};
List<String> Item = Arrays.asList(newsItem);