老师这个是什么错误啊?
1, simp_adapter=new SimpleAdapter(this, getData(), R.layout.item, new String[]{"pic","text"}, new int[]{R.id.pic,R.id.text});
The constructor SimpleAdapter(MainActivity, List<Map<R.string,Object>>, int, String[], int[]) is undefined;
2, datalist.add(map);
The method add(Map<R.string,Object>) in the type List<Map<R.string,Object>> is not applicable for the arguments (Map<String,Object>);