public CalcRoutePage(MyList _ml, BrandsViewModel _bvm) { InitializeComponent(); animations = new MyAnimations(); ml = _ml; bvm = _bvm; BindingContext = ml; Products.ItemsSource = ml.items; HeaderTitle.Text = ml.Topic; animations.TranslateStackLayout(APISearch, -Application.Current.MainPage.Width, 0, 0, Easing.Linear); //animations.TranslateStackLayout(SearchItems, 0, Application.Current.MainPage.Height, Convert.ToUInt32( Application.Current.MainPage.Height), Easing.CubicOut); //Launcher.OpenAsync("geo:0,0?q=394+Pacific+Ave+San+Francisco+CA"); }
private void searchResults_ItemTapped(object sender, ItemTappedEventArgs e) { APISearchGrid.IsVisible = true; animations.TranslateStackLayout(APISearch, 0, 0, APISearchAnimationSpeed, Easing.CubicInOut); }