public static void MapListProperty(IViewHandler viewHandler, IListView virtualView) { var nativeView = (UWPListView)viewHandler.NativeView; var sections = virtualView?.Sections() ?? 0; for (var s = 0; s < sections; s++) { var section = virtualView?.HeaderFor(s); if (section != null) { nativeView.Items?.Add(new ListViewHandlerItem((ListViewHandler)viewHandler, section)); } var rows = virtualView.Rows(s); for (var r = 0; r < rows; r++) { var v = virtualView.ViewFor(s, r); nativeView.Items?.Add(new ListViewHandlerItem((ListViewHandler)viewHandler, v)); } var footer = virtualView?.FooterFor(s); if (footer != null) { nativeView.Items?.Add(new ListViewHandlerItem((ListViewHandler)viewHandler, footer)); } } }