c# - List view does not contain a definition for 'ItemsSource' in Xamarin.forms? -
i new c# cross-platform working in xamarin.forms in visual studio. copied sample code link, getting error definition can't found. can please give solution or idea why getting error , have missed in it.
main.cs
listview listview = new listview { itemssource = presidents, itemtemplate = cell // set imagecell item template listview };
i getting error in above line in copied code above link.
it looks using android.widget.listview. need use xamarin.forms.listview class.
Comments
Post a Comment