I declare ListView in XAML (MainPage.xaml):
<ListView x:Name="ShoppingListsLV"
HorizontalOptions="CenterAndExpand"
Margin="3"/>
And tried to access it from my code (MainPage.xaml.cs):
ShoppingListsLV.ItemsSource = new string[] { "test", "test 2"};
And I have an error:
CS0103: The name ShoppingListsLV does not exist in the current context