Task is to show cricket players names and their images in first vc inside tableview.
When I click on tableview didselect row that particular image and their name will be shown to sec vc.
And In sec vc there is a previous and next button, when click on previous button and next button data should change based on the index from first vc.
I have a doubt in sec vc, to show the previous and next data when click on these two buttons based on the index from first vc. Kindly please help me.