GoogleApiClient onConnectionSuspended , should i call mGoogleApiClient.connect() again?

我们两清 提交于 2019-11-30 17:09:36

GoogleApiClient will automatically try to reconnect. You do not need to call connect() again.

The onConnected() doc says the follwing:

After calling connect(), this method will be invoked asynchronously when the connect request has successfully completed.

This implies that you have to call connect() otherwise onConnected() won't be called.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!