Android notifyDataSetChanged not working
I have an adapter which fills a ListView with 2 TextViews with data from a TreeMap. When the user adds or deletes Data from the ListView, the View should be refreshed. So here is my Adapter: public class MyAdapter extends BaseAdapter { private final ArrayList mData; public MyAdapter(Map<String, String> map) { mData = new ArrayList(); mData.addAll(map.entrySet()); } @Override public int getCount() { return mData.size(); } @Override public Map.Entry<String, String> getItem(int position) { return (Map.Entry) mData.get(position); } @Override public long getItemId(int position) { // TODO implement