Kay
Kay

Reputation: 63

Should I maintain a connected GoogleApiClient while Application is alive?

I'm working on an application which uses the GoogleApiClient in back- and fore-ground components. Should I maintain a connected GoogleApiClient in my Application context, or should I connect and disconnect in every single component?

Upvotes: 1

Views: 294

Answers (1)

Kay
Kay

Reputation: 63

Just in case anybody is wondering. I ended up with connecting and closing the connection when needed.

Upvotes: 1

Related Questions