Windows phone 8 Windows Phone 8 Hubbile源和背景图像加载

Windows phone 8 Windows Phone 8 Hubbile源和背景图像加载,windows-phone-8,Windows Phone 8,目前,我们正在使用Hubble来显示一个大的(50-70)图像和覆盖的文本 <toolkit:HubTile Margin="0,12,12,0" Title="{Binding title}" Message="{Binding itemLink}" Source="{Binding media}" GroupTag="BindingHubTile" Style="{StaticResource HubTileStyle1}">

目前,我们正在使用Hubble来显示一个大的(50-70)图像和覆盖的文本

<toolkit:HubTile Margin="0,12,12,0"  
     Title="{Binding title}"
     Message="{Binding itemLink}"
     Source="{Binding media}"
     GroupTag="BindingHubTile"
     Style="{StaticResource HubTileStyle1}">
</toolkit:HubTile>
<TextBlock Height="Auto" FontSize="14" FontFamily="{StaticResource PhoneFontFamilyLight}" 
            TextWrapping="Wrap" Text="{Binding votes}" TextTrimming="WordEllipsis" VerticalAlignment="Bottom" 
            Foreground="{StaticResource PhoneForegroundBrush}" TextAlignment="Right" Margin="0,0,15,-7" />

源绑定到一个URI,该URI从Web服务器检索,然后允许手机下载图像并显示。问题是,有了这么多的图像,我们发现UI被锁定了

我们的Hubbiles通过listbox.ItemSource加载到listbox中


有没有简单的办法

当您设置为image-URI时,它会在后台下载,并且不会锁定已测试的UI

唯一剩下的就是找到你把它锁在哪里了

我有一个类似的项目,但我创建了CustomControls来填充列表框。包含自定义控件-日期字段、文本和图像

图像加载方式如下:

BitmapImage image = new BitmapImage(new Uri(article.ImageURL));
NLBI.Thumbnail.Source = image;

所有图像都在后台异步加载,用户界面可用。

感谢您的输入-我们将试一试。