title: How to avoid Fragment going back to previous Fragment on pressing device back button?
body: <p>I am developing an android in which when I pressed device back button I go to previous fragment. What I want to achieve is that when I pressed device back button I don't want to go to previous fragment. How can I achieve that?.</p>