title: Download file using android-async-loopj
body: <p>I am using this code:</p>
  
  <pre><code>/* This is an asynchronusHTTP client*/
  AsyncHttpClient client = new AsyncHttpClient();
      client.get(url, params,new FileAsyncHttpResponseHandler(file) {
          @Override
          public void onSuccess(int statusCode, Header[] headers, File response) {
             // Do something with the file `response`
          }
  });
  </code></pre>
  
  <p>but I got the file which is empty. Documentation says on success it writes result to the file passed but that is not happening.</p>