While trying to set up the Google Drive API for Android, In this line
Drive.DriveApi.getAppFolder(mGoogleApiClient)
I'm getting that both, DriveApi
and getAppFolder
are deprecated.
What should I replace it with?
While trying to set up the Google Drive API for Android, In this line
Drive.DriveApi.getAppFolder(mGoogleApiClient)
I'm getting that both, DriveApi
and getAppFolder
are deprecated.
What should I replace it with?
The deprecation was officially announced in this reference page:
This was replaced with methods like getDriveClient and you can see sample code demos in googledrive/android-demos:
Check the Drive API for Android for more info.