忽略 Windows 10 通用应用程序中的重复磁贴更新 [英] Ignoring duplicate tile updates in Windows 10 Universal App

查看:41
本文介绍了忽略 Windows 10 通用应用程序中的重复磁贴更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在我的通用应用中在中、宽和大磁贴中实现排队,以显示前 5 条新闻标题.在大图块中,我一次显示 2 个标题,因此如果有 5 个标题,则将有 5 个中宽图块,但队列中有 3 个大图块.由于在更新图块时,我们需要为所有图块大小提供有效载荷,因此我需要指定忽略来自第 4 次和第 5 次更新的大图块有效载荷.

binding 元素中有一个 contentId 属性,我们可以(理论上)用于此目的 (msdn 链接).但是,它不适用于 Windows 10.它曾经适用于 Windows 8.1.此机制在 Windows 10 中是否有任何变化?

解决方案

此问题已在最新的 Windows Insider Preview 14295.rs114316.rs1 中修复,可能会在以下发布版本中交付.

欢迎您加入 Windows Insider Program 并就我们的最新工作向我们提供反馈.>

I'm implementing queuing in medium, wide and large tiles in my universal app to show top 5 news headlines. In large tile, I'm showing 2 headlines at a time, so if there are 5 headlines, there will be 5 medium and wide tiles, but 3 large tiles in the queue. Since while updating tiles, we need to provide payload for all tile sizes, I need to specify to ignore the large tile payload from the 4th and 5th update.

There is a contentId attribute in binding element, that we can (theoreticaly) use for this purpose (msdn link). However, it's not working in Windows 10. It used to work in Windows 8.1. Has there been any change in this mechanism in Windows 10?

解决方案

This issue has been fixed in the latest Windows Insider Preview 14295.rs1 and 14316.rs1, it's possible to be delivered in the following released version.

You're welcome to join the Windows Insider Program and give us feedback on our latest work.

这篇关于忽略 Windows 10 通用应用程序中的重复磁贴更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆