I am trying to retrieve all member data from my database and then display it on a listview and it is able to work.
Now I am trying to search for a particular member and i managed to retrieve the records (logged into the logcat) but it doesn't refresh my listview accordingly.
This is the list view codes I used to retrieve the searched records.
SimpleAdapter simpleAdapter = new SimpleAdapter(Search.this, productsList, R.layout.list_item, new String[] {TAG_COMPANY},
new int[] { R.id.name});
lv = (ListView) findViewById(R.id.lst_name);
lv.setAdapter(simpleAdapter);