Good day. I can not understand what is wrong in using Navigation.PushPopupAsync(_InfoPopup); "Produces an error in _InfoPopup : Argument 2 cannot be converted from NewsInfoBudgetEntrantBranchBeloretsk to Rg.Plugins.Popup.Pages.PopupPage"

I use the NuGet library: https://www.nuget.org/packages/Rg.Plugins.Popup/

 void OnTap(object sender, ItemTappedEventArgs position) { var _InfoPopup = new InfoBudgetEntrantBranchBeloretsk(); Navigation.PushPopupAsync(_InfoPopup); } 

enter image description here

  • The pages that you want to show should be created from the class PopupPage - gil9red
  • No, first from the ContentPage class, and then go to the PopupPage class - D.Dante
  • The minimum class in the hierarchy should be Rg.Plugins.Popup.Pages.PopupPage otherwise it will not work - gil9red
  • Are there any other problems on this issue? - gil9red

0