This may be the main question, but how to get the page to refresh its content (after it has already been loaded)? I am trying to dynamically refresh a page after a web request. The event fires, but it does not seem to refresh the content.
public StartPage : ContentPage
{
public StartPage()
{
var layout = new StackLayout
{
Children =
{
new Label { Text = "Preview Page" }
}
};
this.Content = layout;
}
public void Update(string text)
{
var layout = new StackLayout
{
Children =
{
new Label { Text = text }
}
};
this.Content = layout;
}
}
Aplogies for code, if there are errors doing this from memory (I don't have the exact code in front of me)
source
share