I am trying to catch the TabLayout changing when it is either clicked or the user swipes, but unfortunately Ive had little success getting this to work.
I was trying to add a addOnLayoutChangeListener to the OnCreate for my activity that creates the actual TabLayout but with little luck.
A couple of questions:
Is what I am trying to do the correct and best way to do this? I intend to have 3 recycler views that will be alternated between when the user clicks the TabLayout tabs.
Is there a better way to do this?
Thanks again for any information or help.