void OnSwipedDown(System.Object sender, Xamarin.Forms.SwipedEventArgs e) { if (_isExpanded) { SwipeView.TranslateTo(0, 400, 200, Easing.Linear); _isExpanded = false; } }
void OnSwipedUp(System.Object sender, Xamarin.Forms.SwipedEventArgs e) { if (!_isExpanded) { SwipeView.TranslateTo(0, 0, 200, Easing.Linear); _isExpanded = true; } }