I have been using simple adapter listview and I having problem that my listview not getting update despite calling adapter.notifyDataSetChanged(); so is it working in simple adapter? below is my code for simple adapter. I have declared simple adapter globally
adapter = new SimpleAdapter(
getActivity(), ssLst,
R.layout.surgerysch_item, new String[]{
TAG_SIMRDNO, TAG_SIPNME, TAG_SISEX,
TAG_SIDOB, TAG_SIPROC, TAG_SIOTNME,
TAG_SIOTME, TAG_DRNAME}, new int[]{R.id.txtsimrdNo,
R.id.txtsiptnNme, R.id.txtsiSex,
R.id.txtsiDob, R.id.txtsiProc,
R.id.txtsiotNme, R.id.txtsiotTme, R.id.txtDrnme});
lstViw.setAdapter(adapter);
adapter.notifyDataSetChanged();