public SwipeCardsView() { InitializeComponent(); VM = BindingContext as SwipeCardsViewModel; // Disable swiping between tabs on Android, as it collides // with Swipe Card's swipe gestures //this.On<Xamarin.Forms.PlatformConfiguration.Android>().SetIsSwipePagingEnabled(false); }
protected override void OnBindingContextChanged() { base.OnBindingContextChanged(); VM = BindingContext as SwipeCardsViewModel; }