0

Referring to the Fragment documentation, specifically Performing Fragment Transactions it states:

Whereas, if you do call addToBackStack() when removing a fragment, then the fragment is stopped and will be resumed if the user navigates back.

I want to understand the implications of a Frgament being stopped because I am creating several Fragments which I would like to place on the BackStack yet must still interact with them from an external (i.e. non-GUI) thread, to set a flag within the Fragment for example. Also if the Fragment starts threads within it, are they too stopped or 'suspended' once the Fragment is placed onto the backstack?

4

0 回答 0