title: RestAdapter (retrofit) not resolving in android
body: <p>So I am trying to use Retrofit for my project. As the site says I have included 
  <code>compile 'com.squareup.retrofit:retrofit:2.0.0-beta1'</code> in <code>build.gradle</code>. I was reading the tutorials from this <a href="http://themakeinfo.com/2015/04/android-retrofit-images-tutorial/">link</a> . I want to do something similar like this </p>
  
  <pre><code>final RestAdapter restadapter = new RestAdapter.Builder().setEndpoint("http://services.hanselandpetal.com").build();
  
          api flowerapi = restadapter.create(api.class);
  
          flowerapi.getData(new Callback&lt;List&lt;Flower&gt;&gt;() {
              @Override
              public void success(List&lt;Flower&gt; flowers, Response response) {
                  flowerList = flowers;
                  adapter adapt = new adapter(getApplicationContext(),R.layout.item_file,flowerList);
                  //ListView listView = (ListView) findViewById(R.id.list);
                  setListAdapter(adapt);
              }
  </code></pre>
  
  <p>in my project ie make some calls to an API. But restadapter just doesn't get <code>resolved</code>. On hovering on it it simply says <code>symbol can't be resolved</code>. What is happening here ? </p>