Untitled
unknown
plain_text
2 years ago
397 B
19
Indexable
//This code will be the code behind of your .XAML, this will call the function from your model to display the actual data to your .XAML file.
//Feel free to change the function name (FillList)
protected override async void OnAppearing()
{
base.OnAppearing();
await FillList();
}
private async Task FillList()
{
ListSchools.ItemsSource = await _schools.GetSchools();
}Editor is loading...
Leave a Comment