How to swipe Horizontally in appium Android

I need to swipe a element from left to right. How to achieve it.

Element screenshot

I tried:
new TouchAction(driver).press(214, 1219).moveTo(854,1199).release().perform();

But no luck. Can any one help me to swipe this button from left to right?

add wait after press

1 Like

Thanks it worked after adding the wait