Is it possible to update a SimpleAdapter? I have a list of data and a footer that says \"See Next Results\" When that list item is clicked I capture the event and get new d
ListView lv= (ListView) findViewById(R.id.loglist); ArrayList> list = buildData(); String[] from = { "time", "message" }; int[] to = { R.id.logtime, R.id.logmessage }; adapter = new SimpleAdapter(getApplicationContext(), list,R.layout.log_list_row, from,to); lv.setAdapter(adapter);
Call this function each time to update the ListView. Keep in Mind that You have to update the list variable with new Data..
Hope this Helps..:)