title: C# binding images from a List inside a ObservableCollection to show in LongListSelector
body: <p>I have a problem where im trying to show some images from my List inside my LongListSelector, but when im trying to bind my LongListSelector to my List which contains my images, it wont show any images.</p>
  
  <p>My LongListSelector in XAML:</p>
  
  <pre><code>&lt;phone:PivotItem Header="Images"&gt;
          &lt;Grid&gt;
              &lt;phone:LongListSelector LayoutMode="Grid" IsGroupingEnabled="True" GridCellSize="180,180" Margin="0,0,-12,0" ItemsSource="{Binding}"&gt;
              &lt;phone:LongListSelector.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;Grid Background="{StaticResource PhoneAccentBrush}" Margin="5"&gt;
                          &lt;StackPanel&gt;
                                  &lt;Image Source="{Binding Images}"&gt;&lt;/Image&gt;
                          &lt;/StackPanel&gt;
                      &lt;/Grid&gt;
                  &lt;/DataTemplate&gt;
              &lt;/phone:LongListSelector.ItemTemplate&gt;
              &lt;/phone:LongListSelector&gt;
          &lt;/Grid&gt;
      &lt;/phone:PivotItem&gt;
  </code></pre>
  
  <p>and my DataContext:</p>
  
  <pre><code>this.DataContext = gd.GetGameItems;
  </code></pre>
  
  <p>The ObservableCollection im binding to my LongListSelector which contains my List Images:</p>
  
  <pre><code>private ObservableCollection&lt;GetGame&gt; _GetGameItems = new ObservableCollection&lt;GetGame&gt;();
  public ObservableCollection&lt;GetGame&gt; GetGameItems
  {
      get
      {
          return this._GetGameItems;
      }
  }
  </code></pre>
  
  <p>The code to read the XML and to store data. The method GetImages is where im getting the images and putting them into my List(Images) from the XML which i would like to show in my LongListSelector. The class GetGame is where i store my data:</p>
  
  <pre><code>var feedXml = XDocument.Parse(e.Result);
  
          var gameData = feedXml.Root.Descendants("Game").Select(x =&gt; new GetGame
          {
              ID = (int)x.Element("id"),
              GameTitle = (string)x.Element("GameTitle"),
              Platform = (string)x.Element("Platform"),
              ReleaseDate = (string)x.Element("ReleaseDate"),
              Images = GetImages(x).ToList(),
          })
            .ToList();
          foreach (var item in gameData) GetGameItems.Add(item);
      }
  }
  
  private static IEnumerable&lt;Uri&gt; GetImages(XElement gameNode)
  {
      return gameNode
                .Descendants("boxart")
                .Select(t =&gt; new Uri("http://thegamesdb.net/banners/" + (string)t.Attribute("thumb")));
  }
  
  public class GetGame
  {
  public int ID { get; set; }
  public string GameTitle { get; set; }
  public string Platform { get; set; }
  public string ReleaseDate { get; set; }
  public List&lt;Uri&gt; Images { get; set; }
  </code></pre>
  
  <p>}
  This is my XML:</p>
  
  <pre><code>&lt;Data&gt;
    &lt;baseImgUrl&gt;http://thegamesdb.net/banners/&lt;/baseImgUrl&gt;
    &lt;Game&gt;
      &lt;id&gt;2&lt;/id&gt;
      &lt;GameTitle&gt;Crysis&lt;/GameTitle&gt;
       &lt;PlatformId&gt;1&lt;/PlatformId&gt;
       &lt;Platform&gt;PC&lt;/Platform&gt;
       &lt;ReleaseDate&gt;11/13/2007&lt;/ReleaseDate&gt;
       &lt;Overview&gt;
       From the makers of Far Cry, Crysis offers FPS fans the best-looking, most highly-        evolving gameplay, requiring the player to use adaptive tactics and total customization of    weapons and armor to survive in dynamic, hostile environments including Zero-G. Earth, 2019. A team of US scientists makes a frightening discovery on an island in the South China Sea. All contact with the team is lost when the North Korean Government quickly seals off the area. The United States responds by dispatching an elite team of Delta Force Operators to recon the situation. As tension rises between the two nations, a massive alien ship reveals itself in the middle of the island. The ship generates an immense force sphere that freezes a vast portion of the island and drastically alters the global weather system. Now the US and North Korea must join forces to battle the alien menace. With hope rapidly fading, you must fight epic battles through tropical jungle, frozen landscapes, and finally into the heart of the alien ship itself for the ultimate Zero G showdown.
      &lt;/Overview&gt;
      &lt;ESRB&gt;M - Mature&lt;/ESRB&gt;
      &lt;Genres&gt;
      &lt;genre&gt;Shooter&lt;/genre&gt;
      &lt;/Genres&gt;
      &lt;Players&gt;4+&lt;/Players&gt;
      &lt;Co-op&gt;No&lt;/Co-op&gt;
      &lt;Youtube&gt;http://www.youtube.com/watch?v=i3vO01xQ-DM&lt;/Youtube&gt;
      &lt;Publisher&gt;Electronic Arts&lt;/Publisher&gt;
      &lt;Developer&gt;Crytek&lt;/Developer&gt;
      &lt;Rating&gt;8.1111&lt;/Rating&gt;
      &lt;Images&gt;
        &lt;fanart&gt;
          &lt;original width="1920" height="1080"&gt;fanart/original/2-1.jpg&lt;/original&gt;
          &lt;thumb&gt;fanart/thumb/2-1.jpg&lt;/thumb&gt;
        &lt;/fanart&gt;
        &lt;fanart&gt;
          &lt;original width="1920" height="1080"&gt;fanart/original/2-2.jpg&lt;/original&gt;
          &lt;thumb&gt;fanart/thumb/2-2.jpg&lt;/thumb&gt;
        &lt;/fanart&gt;
        &lt;fanart&gt;
          &lt;original width="1920" height="1080"&gt;fanart/original/2-3.jpg&lt;/original&gt;
          &lt;thumb&gt;fanart/thumb/2-3.jpg&lt;/thumb&gt;
        &lt;/fanart&gt;
        &lt;fanart&gt;
          &lt;original width="1920" height="1080"&gt;fanart/original/2-4.jpg&lt;/original&gt;
          &lt;thumb&gt;fanart/thumb/2-4.jpg&lt;/thumb&gt;
        &lt;/fanart&gt;
        &lt;fanart&gt;
          &lt;original width="1920" height="1080"&gt;fanart/original/2-5.jpg&lt;/original&gt;
          &lt;thumb&gt;fanart/thumb/2-5.jpg&lt;/thumb&gt;
        &lt;/fanart&gt;
        &lt;fanart&gt;
          &lt;original width="1920" height="1080"&gt;fanart/original/2-6.jpg&lt;/original&gt;
          &lt;thumb&gt;fanart/thumb/2-6.jpg&lt;/thumb&gt;
        &lt;/fanart&gt;
      &lt;boxart side="back" width="1525" height="2162" thumb="boxart/thumb/original/back/2-1.jpg"&gt;boxart/original/back/2-1.jpg&lt;/boxart&gt;
      &lt;boxart side="front" width="1525" height="2160" thumb="boxart/thumb/original/front/2-1.jpg"&gt;boxart/original/front/2-1.jpg&lt;/boxart&gt;
      &lt;banner width="760" height="140"&gt;graphical/2-g2.jpg&lt;/banner&gt;
      &lt;banner width="760" height="140"&gt;graphical/2-g3.jpg&lt;/banner&gt;
        &lt;screenshot&gt;
          &lt;original width="1920" height="1080"&gt;screenshots/2-1.jpg&lt;/original&gt;
          &lt;thumb&gt;screenshots/thumb/2-1.jpg&lt;/thumb&gt;
        &lt;/screenshot&gt;
      &lt;clearlogo width="400" height="95"&gt;clearlogo/2.png&lt;/clearlogo&gt;
      &lt;/Images&gt;
    &lt;/Game&gt;
  &lt;/Data&gt;
  </code></pre>
  
  <p>So, the problem is getting this List with images to show up in my LongListSelector. I don't know if it has something to do with that my List Images is inside my ObservableCollection GetGameItems:</p>
  
  <pre><code>public List&lt;Uri&gt; Images { get; set; }
  </code></pre>
  
  <p>So i hope there is someone that can help me, Thanks.</p>