public PersonalCenterPage() { InitializeComponent(); BindingContext = new PersonalCenterViewModel(); initPersonalCenterSetting(); this.Appearing += (sender, args) => { getBinding(); }; }
private void getBinding() { BindingContext = new PersonalCenterViewModel(); }