Change RecyclerView data with Fragment
<p>I am working on a project with TabLayout.I have 20 tabs. I use one RecyclerView Adapter and Fragment. When I click any tabs I want recyclerview and fragment to change data. How can I do that in TabLayout's getItem function? Thanks. </p>