protected override void OnAppearing() { base.OnAppearing(); var vm = new BooksPageViewModel(); vm.Initialize(); BindingContext = vm; }