How to get hidden elements in Android

Hello guys.
I want Driver.GetPageSource() to return invisible elements as well in Android.

In IOS by default hidden elements are shown in Appium inspector as well as these get included in xml generated through Driver.GetPageSource().

How to achieve this for Android?

Thanks and Regards,
Pranoday

You have to scroll/swipe the elements into view.

To follow up on appiumNewb’s comment, there are no invisible elements in Android. The objects on the screen are the only ones you can access. If it’s not on the screen, you need to swipe/navigate to make the object visible.