This question is locked. New answers and comments are not allowed.
Hi there!
I'm using the RadMosaicHubTile to show some data loaded from my ViewModel.
The data that I'm loading can be edited using some other pages, and I expect my tiles to be update accordingly.
The problem is that this does not happen until I manually restart the app.
Here's some code:
As you can see, I'm using a special class called DummyConverter.
This class just prints out the exact same value that is received from XAML, and I'm using it to test if my values are correct.
What happens is that the values of the RadDataBoundListBox are printed fine, including the updates (for now I'm just editing the Title) property, but the tiles are not printing anything, they only print the first time that the app is started.
This makes me thing that, despite changing the contents of the list, the bindings for the tiles are not updated, like if there's some sort of cache.
Do you have any clue on this?
I'm using the RadMosaicHubTile to show some data loaded from my ViewModel.
The data that I'm loading can be edited using some other pages, and I expect my tiles to be update accordingly.
The problem is that this does not happen until I manually restart the app.
Here's some code:
01.<telerikPrimitives:RadDataBoundListBox ItemsSource="{Binding Projects, Source={StaticResource ProjectsViewModel}, Converter={StaticResource DummyConverter}, Mode=OneWay}" SelectionChanged="RadDataBoundListBox_OnSelectionChanged">02. <telerikPrimitives:RadDataBoundListBox.ItemTemplate>03. <DataTemplate>04. <telerikPrimitives:RadMosaicHubTile Title="{Binding Title, Mode=OneWay, Converter={StaticResource DummyConverter}}" Width="215" Height="215" UpdateInterval="{Binding Converter={StaticResource RandomIntervalGenerator}}" ImageSources="{Binding Pictures, Converter={StaticResource PicturesListToImageListConverter}}">05. <telerikPrimitives:RadMosaicHubTile.BackContent>06. <Grid Background="{StaticResource PhoneAccentBrush}">07. <TextBlock HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,2,5,0" Text="{Binding Description}" />08. </Grid>09. </telerikPrimitives:RadMosaicHubTile.BackContent>10. </telerikPrimitives:RadMosaicHubTile>11. </DataTemplate>12. </telerikPrimitives:RadDataBoundListBox.ItemTemplate>13. <telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>14. <telerikPrimitives:WrapVirtualizationStrategyDefinition Orientation="Horizontal" WrapLineAlignment="Near"/>15. </telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>16.</telerikPrimitives:RadDataBoundListBox>As you can see, I'm using a special class called DummyConverter.
This class just prints out the exact same value that is received from XAML, and I'm using it to test if my values are correct.
What happens is that the values of the RadDataBoundListBox are printed fine, including the updates (for now I'm just editing the Title) property, but the tiles are not printing anything, they only print the first time that the app is started.
This makes me thing that, despite changing the contents of the list, the bindings for the tiles are not updated, like if there's some sort of cache.
Do you have any clue on this?