RecyclerView + Fragment TabLayout

RecyclerView + Fragment TabLayout

Hi, the company I work for bought a system designed in kotlin; I am the unlucky one who must maintain it; I had to figure out how kotlin works on my own on the run, since the tutorials that my company acquired are too basic to help me.I have managed to make new options by taking the provided code as an example.

My problem is that I must make a new option in which I must create a TabLayout where I can read the information of the elements selected on the corresponding tab.I can’t find any sample code, tutorials, or anything to help me.

I need it urgently, probably my job is at risk right now.

Could someone provide me with some code that I can take as an example?

submitted by /u/NeutralGuy93
[link] [comments]