Category: windows metro apps html5
nagarjuna1207 on Tue, 27 Nov 2012 10:45:35
In my metro application I have to update my live tile with more than 5 items. By default it is showing 5 items only. How to update my tile with next items after the 5th item.
Song Tian on Wed, 28 Nov 2012 02:57:55
You could change your tile's content through notifications.
nagarjuna1207 on Wed, 28 Nov 2012 11:21:15
Hi Song Tian ,
I am not able to implement after seeing the suggested links by you. In my app I will get the records more than 5 from the database and I will put those records in an collection. So accordingly I need to update my first 5 records in the first iteration after completion of showing those first 5 items I need to display the next 5 items which are already stored in the collection.
please give me a piece of code for this requirement.
any suggestion is greatly appreciated.
Rob Caplan [MSFT] on Wed, 28 Nov 2012 21:55:29
You can provide only 5 tiles to switch through at a time.
If you need more you will need to replace some of the tiles with new ones in a later notification. Trying to loop through a large number of tiles does not sound like a good user experience. If the information is important it is likely to be missed. If it isn't important then it should be reasonably limited to just the five most important pieces.
I would recommend you redesign your app to display the records in a different way. Perhaps you can create a summary tile if you have many records and let the user click through to see the full details.