title: Refresh Page PopAsync()
body: <p>I have a screen that captures digital signature which, when saving or returning, executes a postasync or postmodalasync when the screen returns to me does not reload. How can I make the page reload or refresh?</p>
  
  <pre><code> &lt;Grid BackgroundColor="WhiteSmoke" Padding="0" RowSpacing="0" VerticalOptions="StartAndExpand"&gt;
              &lt;Grid.RowDefinitions&gt;
                  &lt;RowDefinition Height="*"/&gt;
              &lt;/Grid.RowDefinitions&gt;
              &lt;ContentView Margin="10,0,10,5" Padding="0" BackgroundColor="LightGray" HeightRequest="500"&gt;
                      &lt;StackLayout Padding="5,0,5,5" BackgroundColor="White" Spacing="1"&gt;
                          &lt;Label 
                  Text="Firma Policia Que Realizo Visita"
                  HorizontalOptions="Center"
                  TextColor="Black" 
                  FontSize="Large" 
                  FontAttributes="Bold"
  
                   /&gt;
  
                      &lt;Frame  HasShadow="true" 
                           Padding="8"
                          VerticalOptions="CenterAndExpand"&gt;
                          &lt;signature:SignaturePadView  
                              x:Name="SignatureView" 
  
                              BindingContext="{Binding SignatureView}"
                              WidthRequest="280"
                          HeightRequest="300"
                              CaptionText="" 
                              CaptionTextColor="Blue" 
                              ClearText=""
                              PromptText=""
                              PromptTextColor="Green" 
                              BackgroundColor="WhiteSmoke" 
                              SignatureLineColor="Black" 
                              StrokeWidth="3" 
                              StrokeColor="Black" /&gt;
                      &lt;/Frame&gt;
                  &lt;/StackLayout&gt;
                  &lt;/ContentView&gt;
  
  
          &lt;/Grid&gt;
  
  
          &lt;StackLayout Orientation="Horizontal" Padding="2" Spacing="2"&gt;
              &lt;Button 
                      HorizontalOptions="FillAndExpand"
                      HeightRequest="40"                
                      Text="Guardar"
                      TextColor="{x:StaticResource WhiteColor}"
                      FontSize="Small"
                      VerticalOptions="Center"
                      BackgroundColor="{x:StaticResource GreenButton}"
                   Clicked="Button_Clicked"&gt;
  
              &lt;/Button&gt;
              &lt;Button                  
                      HorizontalOptions="FillAndExpand"
                      HeightRequest="40"                
                      Text="Limpiar"
                      TextColor="{x:StaticResource WhiteColor}"
                      FontSize="Small"
                      VerticalOptions="Center"
                      BackgroundColor="{x:StaticResource SicoqYellowColor}"
                     Clicked="Button_Clicked_1"&gt;
              &lt;/Button&gt;
  
  
          &lt;/StackLayout&gt;
  </code></pre>
  
  <p>This is the viewmodel which makes the backbuttoncommand service</p>
  
  <pre><code>public Task RemoveLastModalFromBack(object parameter,bool animated = false)
      {
          var mainPage = Application.Current.MainPage as NavigationView;
          if (mainPage != null)
          {
              mainPage.Navigation.PopAsync(animated);
          }
  
          return Task.FromResult(true);
      }
  </code></pre>
  
  <p><strong>This is the ViewModel which receives the signature data</strong></p>
  
  <pre><code> private async Task BackButton()
      {
  
          try
          {
              IsBusy = true;
  
  
  
              await NavigationService.RemoveLastModalFromBack(str3);
  
              o
  
  
          }
          catch (Exception e)
          {
              IsBusy = false;
              // await DialogService.DisplayAlertAsync("Error", e.Message, "Aceptar");
  
          }
          finally
          {
              IsBusy = false;
          }
      }
  </code></pre>
  
  <p><em>The digital signature master page is digital signatures when you save or return the digital signatures page to reload</em></p>