How to scroll to a particular element on a web page in Appium Java TestNG?

How to scroll to a particular element on a web page?

Hello Joe,

To scroll on a particular element on a web page, you can refer to the sample command below:

MobileElement home = (MobileElement) 
driver.findElementByAccessibilityId("Home");
home.click();