I am currently working on sample android navigation drawer application. It contains 1 activity and four fragments (import android.app.Fragment). I do not know how to resume the previous fragments, for example now I am in Fragment A here I did some activities like selected checkbox some thing like this. then I have moved to Fragment B, now if I press back button I want to resume the Fragment A with the previous state (with selected check box). please provide some sample code.
thanks in advance