title: how to remove multiple back button from navigation in xamarin?
body: <p>please help me to sort out following issue.</p>
  
  <p>this is my issue.if push without animation(false)then issue.if animation true then working fine.</p>
  
  <pre><code>//  await Navigation.PushAsync&lt;DeleteDealsAndOffersViewModel&gt;(); --&gt; **working fine**
  
  //  await Navigation.PushAsync(new DeleteDealsAndOffersViewModel());**working fine** 
  
  
  vm = new DeleteDealsAndOffersViewModel
              {
                  DealsAndOffersList = dealLists,
                  //CategoryColor = CategoryColor,
                  IsDelete = true
              };
  
  //await Navigation.PushAsync(vm,false); **issue with back button**
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/dpfQA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dpfQA.png" alt="enter image description here"></a></p>
  
  <p>I have used following code for back button.this is my base class.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;v:ExtendedContentPage 
      xmlns:v="clr-namespace:Core.Views;assembly=Core" 
      xmlns="http://xamarin.com/schemas/2014/forms" 
      LeftBarButtonTitle="&amp;lt; Back"
      xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
      x:Class="Vi.Views.BasicV"&gt;
      &lt;ContentPage.Content&gt;
      &lt;/ContentPage.Content&gt;
  &lt;/v:ExtendedContentPage&gt;
  
  now I create another page and set base class on that page 
  </code></pre>
  
  <p><strong>DeleteDealsAndOffersListPage.xaml</strong></p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;view:BasicV 
          xmlns="http://xamarin.com/schemas/2014/forms" 
          xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
          xmlns:view="clr-namespace:Vi.Views;assembly=FlagSpree" 
          xmlns:sty="clr-namespace:VillageVesl.Styles;assembly=FlagSpree" 
          xmlns:v="clr-namespace:Core.Views;assembly=Core" 
          xmlns:comp="clr-namespace:VillageVesl.Views.Components;assembly=FlagSpree" 
          x:Name="main" Title="{Binding Title}"
          LeftBarButtonTitle="Cancel"
          BackgroundColor="{x:Static sty:Colors.BGColor}"
          x:Class="Vi.Views.DeleteDealsAndOffersListPage"&gt;
          &lt;ContentPage.ToolbarItems&gt;
              &lt;ToolbarItem IsDestructive="true" Text="Delete" Command="{Binding DeleteAllSelectedDealsCommand}" /&gt;
          &lt;/ContentPage.ToolbarItems&gt;
        &lt;ContentPage.Content&gt;
          &lt;/ContentPage.Content&gt;
      &lt;/view:BasicV&gt;
  </code></pre>
  
  <p><strong>"DeleteDealsAndOffersListPage.xaml.cs"</strong>. </p>
  
  <pre><code>namespace Vi.Views
  {
      public partial class DeleteDealsAndOffersListPage : BasicV
      {
          public DeleteDealsAndOffersListPage()
          {
              InitializeComponent();
          }
      }
  }
  </code></pre>
  
  <p>Now problem is that when I push on <strong>DeleteDealsAndOffersListPage</strong> then display two back button.</p>