public override void ViewWillAppear(bool animated) { productsListScreen = new ProductsListScreen(products); productsMapScreen = new ProductsMapScreen(position, products); this.SetViewControllers(new UIViewController[] { productsMapScreen, productsListScreen }, false); base.ViewWillAppear(animated); }
public override void ViewWillAppear(bool animated) { productsListScreen = new ProductsListScreen(products); productsMapScreen = new ProductsMapScreen(position, products); this.SetViewControllers(new UIViewController[]{ productsMapScreen, productsListScreen }, false); base.ViewWillAppear (animated); }