<VerticalStackLayout Spacing="25" Padding="30,0" VerticalOptions="Center"> <ActivityIndicator x:Name="acti" IsRunning="True"/> </VerticalStackLayout>
private void OnInfinixClicked(object sender,EventArgs e) { Brands MyBrands = new Brands { name = "infinix" }; acti.IsVisible = true; await Task.Delay(500); try { await Navigation.PushAsync(new details { BindingContext = MyBrands },true); } finally { acti.IsVisible = false; } }
await
async
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)