public MainPage() { InitializeComponent(); tipCalculator = new TipCalculator { Total = 100, TipPercent = 18 }; tipCalculator.CalcTip(); BindingContext = tipCalculator; }
public MainPage() { InitializeComponent(); On <iOS>().SetUseSafeArea(true); tipCalculator = new TipCalculator { Total = 100, TipPercent = 18 }; tipCalculator.CalcTip(); BindingContext = tipCalculator; }