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

Adding a row to a ListView

$
0
0

Hi guys,
Got myself a ListView populated with a List as per the example for the view. What is the correct way of adding further rows to the list? If I add rows to List the ListView does not redraw unless I detach and reattach the List to the ListView.ItemsSource, or if I rotate the device it forces a repaint. [EDIT] Ideally I want to be able to animate the insert of a new row.

Also, how do we force a control to repaint?

Cheers
John


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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