Unable to scroll in android application in Appium using Python

I am trying to scroll a screen of android application in appium using python but scrolling is not working. Looks like scrollable part is web element. Please help me out to resolve this problem. Please suggest what to do for scrolling Native & Web element. Also, if there is need to switch from Native to Webview, please suggest how to do it.

you can use this example

self.driver.find_element_by_android_uiautomator(“new UiScrollable(new UiSelector().className(”" + ‘android.widget.TextView’ + “”)).scrollIntoView(new UiSelector().text("" + name + “”))")

@langme Thanks for the reply. Using the above example, it is swiping in horizontal. I want to scroll vertically. Please suggest the solution