I'm calling a ContentDialog from a WP 8.1 app that collects data from user and writes it into Application Data.
I then re-read the variables from Application Data and display them in parent's GUI.
private void Settings_Click(object sender, RoutedEventArgs e)
{
new AppSettings(); // Open dialog
dataInit(); // Re-read the data from AppData
guiInit(); // Populate GUI /w new data
}
For some reason GUI doesn't refresh after I close the ContentDialog with new data. It does refresh if I open ContentDialog and close it a second time regardless of whether I modify any data or not.
I feel like ContentDialog runs asynchronously, but as far as I know opening it blocks execution since it runs in the same thread. Any ideas?