I know that GoogleApiClient
is deprecated and the new class that should be used is GoogleSignInClient
, as explained by Paresh Mayani in this answer. However, when I used GoogleApiClient in the back, in my MainActivity I was always calling:
googleApiClient.connect();
In the onStart() and:
googleApiClient.disconnect();
In the onStop().
Is this still required?