Untitled

 avatar
unknown
plain_text
a year ago
397 B
14
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