adapter bug fixed
list = new ArrayList();
adapter = new Adapter(content, list);
list = queryAll();//list is not the prime ArrayList,it is now a new one
adapter.notifydatachanged()
adapter must be clear before using adapter.addAll() in onResume()