I know it's a noob question but i cant find anything online.I have this HashMap :
HashMap<String, String> map = new HashMap<String, String>();
Element e = (Element) children.item(i);
map.put("title", ParseXMLmethods.getValue(e, "title"));
map.put("pubDate", ParseXMLmethods.getValue(e, "pubDate"));
map.put("link", ParseXMLmethods.getValue(e, "link"));
map.put("description",ParseXMLmethods.getValue(e, "description"));
localist.add(map);
I am getting an error on localist saying:"localist cannot be resolved". i know i have to declare localist but i don't know which variable type to use . Any help would be really appreciated.