how to use GoogleApiClient in android version 4.0.1 within a class?

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

i have this class => public class MapsActivityDriver extends FragmentActivity implements OnMapReadyCallback, GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener, LocationListener {}
use android studio version 4.0.1. The problem is that GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener are depreciated. how to use in the new version?