Tunous / SwipeActionView

Android swipe-able view, which allows users to perform actions with swipe gestures.
Apache License 2.0
198 stars 17 forks source link

Add a way to animate swiping from code #15

Closed Tunous closed 5 years ago

Tunous commented 5 years ago

This pull request adds a function animateInDirection(swipeDirection, animateBack, delayBeforeAnimatingBack) which allows to programmatically animate the view to swiped position and back.

2019-03-07_19-44-41 The above gif shows how the said function works when invoked on a press of a button.

Closes #14