title: How to stop the fragment to run in background?
body: <p>I have a fragment which is used on the very first page of the app. After the user performs some operation on the fragment and intends to a new Activity to do another processing, my aim is that at this time the fragment should stop completely and later on if the user does an intent to the fragment then only it should start again from scratch.
  How shall I avoid running it in the background and how to stop and start the fragment?</p>