0

After using startResolutionForResult, onActivityResult method will be called within the Activity owning the Fragment, not within the Fragment itself. Also this answer says:

The Google Play game services API should be tied to an Activity's lifecycle, not a Fragment's lifecycle.

Is this also valid for GoogleApiClient?

Community
  • 1
  • 1
osrl
  • 8,168
  • 8
  • 36
  • 57

1 Answers1

1

Yes, its suggested that you start a connection in the Activity's onCreate method.

adjuremods
  • 2,938
  • 2
  • 12
  • 17