I have a navigation drawer as main activity.On click of one of its item , a fragment is added(as in this item its a list with custom list adap. ).[Fragment 1] Now on click on one of those items another fragment is replaced over it and it displays the details.[Fragment 2]
Now when i click back button , application is destroyed . I need to go on 1 st fragment on back button clicked.How do i do that . Thanks.