title: How to download selected file from google drive with DriveApi?
body: <p>I am using <code>Drive.DriveApi</code> and by using DriveApi able to download file but now I have upgraded play-services version i.e. <code>com.google.android.gms:play-services:11.8.0</code>  so  <code>Drive.DriveApi.getFile(googleApiClient, driveId)</code> is deprecated so please suggest any solution for it. How can download file from google drive?</p>
  
  <p>My working code </p>
  
  <pre><code>DriveId  driveId = (DriveId) data.getParcelableExtra(OpenFileActivityBuilder.EXTRA_RESPONSE_DRIVE_ID);
  
   Log.e(TAG, driveId.getResourceId() + "");
  
   DriveFile driveFile = Drive.DriveApi.getFile(googleApiClient, driveId);
   driveFile.getMetadata(googleApiClient).setResultCallback(metadataRetrievedCallback);
  </code></pre>
  
  <p>but now this code is deprecated with the latest update so please suggest any solution.</p>