public AddProductPhotoPage(ContentPage parent, PriceGrabberItem item) : base() { InitializeComponent(); Initilize(); PriceGrabberItem = item; AddNavigationPanel(parent); }
private void BtnNext_Clicked(object sender, EventArgs e) { PriceGrabberItem item = new PriceGrabberItem(); item.Country = pkrCountry.PickerControl.SelectedItem?.ToString(); item.Location = Map.CurrentLocation; item.StoreName = entryStore.Text; App.Current.MainPage = new AddProductPhotoPage(this, item); }