Android TabLayout Track change
<p>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.</p>

<p>I was trying to add a addOnLayoutChangeListener to the OnCreate for my activity that creates the actual TabLayout but with little luck.</p>

<p>A couple of questions:</p>

<ol>
<li><p>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.</p></li>
<li><p>Is there a better way to do this?</p></li>
</ol>

<p>Thanks again for any information or help.</p>