You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
548 B

namespace WeatherClient
{
public partial class MainPage : ContentPage
{
int count = 0;
public MainPage()
{
InitializeComponent();
}
private async void btnRefresh_Clicked(object sender, EventArgs e)
{
btnRefresh.IsEnabled = false;
actIsBusy.IsRunning = true;
BindingContext = await Services.WeatherServer.GetWeather(txtPostalCode.Text);
btnRefresh.IsEnabled = true;
actIsBusy.IsRunning = false;
}
}
}