I want to swipe/scroll from left to right in appium for android app

I want to swipe/scroll from left to right in appium for android app.
Here is my code.

WebElement swipe= driver.findElements(MobileBy.className(“android.view.View”)).get(1);
Dimension dimension = swipe.getSize();
int yCenterOfSwipeArea = swipe.getLocation().y+(dimension.height/2);

 int screenWidthstart = swipe.getLocation().x;
 
 int screenWidthEnd  =swipe.getLocation().x+ dimension.getWidth();
 
 new TouchAction((PerformsTouchActions) driver).tap(PointOption.point(screenWidthstart,yCenterOfSwipeArea)).waitAction(WaitOptions.waitOptions(Duration.ofSeconds(1))).moveTo(PointOption.point(screenWidthEnd,yCenterOfSwipeArea)).release().perform(); 

}

Here is my Element which i want to swipe from left to right.
can anyone please guide me in this.

Check https://www.youtube.com/watch?v=oAJ7jwMNFVU