title: How to put query of information into a listview?
body: <p>I have a ListView</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"&gt;
  &lt;ListView android:layout_height="wrap_content" android:id="@+id/listView1" android:layout_width="match_parent"&gt;
  &lt;/ListView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I am retreiving a query of information from a URL feed. Here is an example of how i retreive the feed.</p>
  
  <pre><code>            query.setOrderBy(YouTubeQuery.OrderBy.VIEW_COUNT);
              query.setFullTextQuery("basketball");
              query.setSafeSearch(YouTubeQuery.SafeSearch.NONE);
              VideoFeed videoFeed = service.query(query, VideoFeed.class);
              printVideoFeed(videoFeed, true);
          } catch (MalformedURLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          } catch (IOException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          } catch (ServiceException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }   
  }
  
  public void printVideoFeed(VideoFeed videoFeed, boolean detailed){
      videoFeed.getTitle().toString();
      }
  }
  </code></pre>
  
  <p>As you see here i retreive a feed of information... Now in this method i would like to set all the information into a list holding all the information.</p>
  
  <p>Such as a ListView with a row. And the row.xml contains a imageView and a TextView.</p>
  
  <p>How would i go about making it so that each feed is set it a row in the list view?</p>
  
  <p>EDIT: What i am trying to is retreive a list of videos from a search using the gdata api through google. Here is the code i am using..</p>
  
  <pre><code>public void printVideoEntry(VideoEntry videoEntry, boolean detailed){
      if(detailed){
  
          YouTubeMediaGroup mediaGroup = videoEntry.getMediaGroup();
  
          System.out.println("Uploaded by: " + mediaGroup.getUploader());
  
          //Here i would like to set one of the thumbnails to a imageView.
          mediaGroup.getThumbnails();
  
          System.out.println("Video ID: " + mediaGroup.getVideoId());
          System.out.println("Description: " + 
            mediaGroup.getDescription().getPlainTextContent());
  
          MediaPlayer mediaPlayer = mediaGroup.getPlayer();
          System.out.println("Web Player URL: " + mediaPlayer.getUrl());
          MediaKeywords keywords = mediaGroup.getKeywords();
          System.out.print("Keywords: ");
          for(String keyword : keywords.getKeywords()) {
              System.out.print(keyword + ",");
          }
      }
  }
  </code></pre>
  
  <p>I would like to have it populate in a list with each video title and its own imageView for a thumbnail.</p>