title: Refresh fragment in Tab layout on any button click
body: <p>In one of my app, I am using tab layout and viewpager with three fragments. In each fragment I am fetching data from server using Java Rest API. This server data depend upon fragment button click. E.g. </p>
  
  <p><a href="https://i.stack.imgur.com/6rpZj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6rpZj.png" alt="enter image description here"></a>
  In <strong>process</strong> fragment when I click on <strong>play</strong> button, then that card view goes into <strong>completed</strong> fragment, but it doesn't. when I refresh activity that time it goes, mean when activity close and then start. what should I do to refresh fragment?</p>