OnActivityResult Listing 34.17


I can see the startActivityForResult but not where the result is set in either the Activity or the Fragment.

Your assistance appreciated.



RunListFragment isn’t using startActivityForResult to communicate any data in this example. Instead, it’s using it to find out when a child activity (RunActivity) is finished.

This behavior happens whether or not the child activity actually calls setResult, so no call to setResult is required.