Search code examples
androidlistviewrefreshsd-card

android listview refresh


hello every one
i want to refresh my listview after adding or removing any data.. the adapter is from the SDcard how can i do this?

thanks in advance


Solution

  • call this code after your data are change..

    adapter.notifyDataSetChanged();