Today, I was learning with how we can add external array xml file and display in our app. Then I learn’t how to switch between landscape and portrait mode.

When on Landscape mode, it shows the list and the result in the same page. But if we not code for the portrait mode separately, it will also work but it not be in a organised manner.
For this purpose, we want to display the list in one page and result in the separate page.

Thus, when we click on any list, The result will be shown in a separate page.