Using getBackStackEntryCount() , you can iterate through the back stack and use the getBackStackEntryAt() method to get each fragment.
EDIT: Based on some of the discussions in the comments, it is recommended that you manually save the list of fragments that you added to your back and save them in your SharedPreferences. You can then read this list at application startup and reload these fragments.
source share