Retaining fragment state along with activity
<p>I have retained the state of an activity while switching between activities by setting intent flag to single top. the activity contains fragment.The activity state gets retained but fragment gets recreated. how to retain the activity state along with the fragment state android by using flags?</p>
