title: Clear Searchview Text on navigation.
body: <p>I have an Activity with two child fragments <code>Timeline</code> and <code>Milestones</code>. Both these fragments contain listviews populated by a custom Cursor adapter</p>
  
  <p>Here is a graphical Representation: <img src="https://i.stack.imgur.com/dMYqz.png" alt="enter image description here"></p>
  
  <p>Now when I am on TIMELINE and I open up the searchview, I type something all is good I get the desired result. But when I navigate from Timeline to Milestones with <code>some text in the searchview</code> the searchview does not get cleared, so I get filtered results on the Milestones page too and acccording to the paramaters I provided in Timeline. </p>
  
  <p>I am using AppCompact lib to develop my ActionBar. The tabs in there are not ActionBar Tabs but simple <code>SlidingTabLayout</code>. </p>
  
  <p>So far I have tried using </p>
  
  <p>getActivity().supportInvalidateOptionsMenu(); in onResume() of both the fragments, does not work. </p>
  
  <p>I have tried searchView.setQuery("",false) - does not work and randomly gives me a NPE. </p>
  
  <p>SO what do I miss here? </p>