private View getView() { _listView = new ListView() { HasUnevenRows = true, ItemsSource = _db.GetAllLogs(), ItemTemplate = new DataTemplate(() => { Label date = new Label() { TextColor = ColorHelper.Gray, FontSize = Device.GetNamedSize(NamedSize.Small, this) }; date.SetBinding(Label.TextProperty, "Date"); Label log = new Label() { TextColor = ColorHelper.Black, FontSize = Device.GetNamedSize(NamedSize.Small, this) }; log.SetBinding(Label.TextProperty, "Log"); return(new ViewCell { View = new StackLayout { Orientation = StackOrientation.Horizontal, Spacing = 10, Padding = new Thickness(10, 10, 10, 10), Children = { date, log } } }); }) }; //_listView.SetBinding(Label.TextProperty, new Binding("Log")); var layout = new StackLayout() { HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand, Children = { _listView } }; //Toolbar Item tbiDelete = new ToolbarItem("Rimuovi tutti", null, deleteAll, 0, 0); ToolbarItems.Add(tbiDelete); return(layout); }