// this will be called before the view is displayed public void SetStock(RootViewController d, Stock Stock) { Delegate = d; currentStock = Stock; }