Click on the list to show pdf

I create a screen with the list at the top and the pdf view at the bottom, when clicking on the list for example name 1 shows the pdf file 1, pressing the name 2 shows the pdf file 2, … please help

Help me

It’s best if you post a screenshot or link to a project showing what you’ve tried. And explain what does/does not work. Otherwise, you’re asking someone to do all of the work for you…