title: trying to get results from youtube api via retrofit
body: <p>get request endpoint method defined in api interface </p>
  
  <pre><code>    @GET("youtube/v3/search")
  Callback&lt;YoutubeResponse&gt; getYouTubeVideos(@Query("key") String apiKey,
                                         @Query("channelId") String channelId,
                                         @Query("part") String videoPart,
                                         @Query("order") String videoOrder,
                                         @Query("maxResults") int maxResults,
                                         Callback&lt;ChannelListResponse&gt; callback);
  </code></pre>
  
  <blockquote>
    <p>Method call to get the results :</p>
  </blockquote>
  
  <pre><code>Callback &lt;YoutubeResponse&gt; call = apiService.getYouTubeVideos(API_KEY,
               "UCjXfkj5iapKHJrhYfAF9ZGg", "snippet", "date", 20, new Callback&lt;ChannelListResponse&gt;() {
                   @Override
                   public void onResponse(Call&lt;ChannelListResponse&gt; call, Response&lt;ChannelListResponse&gt; response) {
                       Log.v("check", response.body().getEtag() + "check");
                   }
  
                   @Override
                   public void onFailure(Call&lt;ChannelListResponse&gt; call, Throwable t) {
  
                   }
               }) ;
  </code></pre>
  
  <p>I am not getting results via this implementaion giving illegal stat exception . 
  There is some structual mistake because the log says  Unable to create call adapter for retrofit2.Callbackfor method ApiInterface.getYouTubeVideos
  using these additional links to implement the same . Using this reference link for help : <a href="https://stackoverflow.com/questions/35364421/youtube-data-api-v3-search-json-response-retrofit-parsing-error">YouTube Data API v3 search JSON response retrofit parsing error</a></p>
  
  <p>But If keep the return type of getYouTubeVideos() as void. Then it says service method can not have void return type . </p>
  
  <p>A help in this regards will be appreciated </p>