title: Capturing the tab click event in Android Tabview
body: <p>I have a tabview in my android app with 3 tabs. The tabs are all working fine.</p>
  
  <p>Now I want to perform some additional logic when the tab (on the top) of the currently active tab is clicked. </p>
  
  <p>Here is an example:</p>
  
  <p>In one of my tabs, I provide an option for the user to sort things in different order. When the press the tab of the currently active tab, I want to reset all these sorting.</p>
  
  <p>Is it possible to capture the tab click event in tabview and perform some additional logic?</p>
  
  <p>Edit: Edited for clarity.</p>