public ShakeListEditorView(ShakeList editList, bool isAClon = false) { __presenter = new ShakeListEditorPresenter(this, editList); __mode = (isAClon) ? AppViewMode.New : AppViewMode.Edit; this.EdgesForExtendedLayout = UIRectEdge.None; this.View.BackgroundColor = UIColor.White; }
public ShakeListEditorView() { __presenter = new ShakeListEditorPresenter(this); __mode = AppViewMode.New; //This is required so the parent UINavigationController doesn't resize this UIViewController like he wants this.EdgesForExtendedLayout = UIRectEdge.None; this.View.BackgroundColor = UIColor.White; }