title: unable to set retrofit timeout along with picasso and okhttp
body: <p>I am unable to set timeout to retrofit. The code below does not work with picasso . I get a blank screen and the data and image does not load. How can I fix it with gradle:</p>
  
  <pre><code>compile 'com.squareup.picasso:picasso:2.3.2'
  compile 'com.squareup.retrofit:retrofit:1.9.0'
  </code></pre>
  
  <p>COde:</p>
  
  <pre><code>    final OkHttpClient okHttpClient = new OkHttpClient();
      okHttpClient.setReadTimeout(60, TimeUnit.SECONDS);
      okHttpClient.setConnectTimeout(60, TimeUnit.SECONDS);
  
  
          RestAdapter restAdapter = new RestAdapter.Builder()
  .setClient(new OkClient(okHttpClient))
            .setEndpoint(URL).build();                                     
          myapi myapi_rest = restAdapter.create(myapi.class);
          myapi_rest.my_call(
                  sno,
                  new Callback&lt;Response&gt;() {
  
                      @Override
                      public void success(Response result, Response response) {
  
  
                      }
  
                      @Override
                      public void failure(RetrofitError error) {
                          // Log.i("Failure", "Error"+error.getMessage());
  
                      }
                  });
  </code></pre>
  
  <p>Gradle:</p>
  
  <pre><code>compile 'com.squareup.picasso:picasso:2.3.2'
  compile 'com.squareup.retrofit:retrofit:1.9.0'
  
  
      compile "com.squareup.okhttp:okhttp:1.6.0"
      compile "com.squareup.okhttp:okhttp-urlconnection:1.6.0"
  </code></pre>