Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

ListView delete item and refresh, similar to notifyDataSetChanged() in Android?

$
0
0

Hi,

How to refresh ListView after removing some items from it? I am having below code.

              _noteViewModelList.RemoveAt(id);
                _listView.ItemsSource = _noteViewModelList;

In above code, i am removing item from List and assigning it to ListView's ItemsSource, but how to update the ListView, to reflect its change in UI?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>