Skip to content

Instantly share code, notes, and snippets.

@SlavaFir
Created March 26, 2019 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SlavaFir/d691868264e589882a3fdb0d8024ec48 to your computer and use it in GitHub Desktop.
Save SlavaFir/d691868264e589882a3fdb0d8024ec48 to your computer and use it in GitHub Desktop.
GoogleApiClient googleApiClient = new GoogleApiClient.Builder(Context)
.addConnectionCallbacks(GoogleApiClient.ConnectionCallbacks)
.addOnConnectionFailedListener(
GoogleApiClient.OnConnectionFailedListener)
.addApi(LocationServices.API)
.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment