I'm taught asynchronous programming helps to spawn multiple threads so that the async thread never impacts the UI and the subsequent lines of code need not wait until the completion of the previous thread. Now the idea is I'm calling a flyout asynchronously and while it is being called I'm wanting to hide the bottom appbar. But surprisingly when implemented, the appbar is not hidden until the flyout is opened and dismissed. Couldn't understand as to why. Here's the abstract piece of code. your inputs will help me to understand async processes better.
private async void OnClick(object sender, TappedRoutedEventArgs e)
{
var flyout = new cmpWebA.Flyout();
await flyout.ShowAsync();
this.BottomAppBar.IsOpen = false;
}