clear edittext when swiped tab in tablyout : **In tablayout there are 4 tabs,at 2nd tab I have edittext(for search),I entered some text in edittext then I swiped to another tab again I comeback to watch edittext,whatever I entered text which is not cleared.But I want to clear edittext when swiped to other tab.**  

[Please watch screen shot here][1]


  [1]: https://i.stack.imgur.com/OUUql.png