title: How to get Playlist ID on search: list (playlist type)
body: <p>i'm stuck on my app development: i'm trying to get the Playlist ID on a youtube search list (i'm searching for playlists). I am looking at the youtube api site and on the test site it comes with playlist id. On my app, i do the same, but i don't get the ID, or i'm not seeing it on my "item" on the iterated code.</p>
  
  <p>I know that currently is searching for video ID and it is not correct. I've tried so far:</p>
  
  <pre><code>item.id
  item.getId().getPlaylistId()
  item.getId().playlistId
  </code></pre>
  
  <p>also entirely iniside item.</p>
  
  <p>I let you my async task code:</p>
  
  <pre><code>SearchListResponse searchResponse;
      try {
          YouTube.Search.List search = mYouTubeDataApi.search().list("id,snippet");
  
          search.setKey(ApiKey.YOUTUBE_API_KEY);
          search.setQ(mTitle);
  
          search.setType("playlist");
  
          search.setFields("items(id/kind,id/videoId,snippet/title,snippet/thumbnails/default/url)");
          search.setMaxResults(YOUTUBE_PLAYLIST_MAX_RESULTS);
          searchResponse = search.execute();
      } catch (IOException e) {
          e.printStackTrace();
          return null;
      }
  
      if (searchResponse == null) {
          Log.e(TAG, "Failed to get playlist");
          return null;
      }
  
      ArrayList videoIds = new ArrayList();
  
      for (SearchResult item : searchResponse.getItems()) {
          //this is what i was talking about. My search result item
          //is not showing me any playlist id
          videoIds.add(item.getId().getVideoId());
      }
  </code></pre>