This is a migrated thread and some comments may be shown as answers.

Slideview still has flicker with CacheMode set to BitmapCache

3 Answers 69 Views
SlideView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
vamana
Top achievements
Rank 1
vamana asked on 10 Mar 2014, 10:53 PM
Hi,

[this is for Windows Phone 8 app]

I use the slideview control in one of my app, super awesome control by the way - thanks. It flickers the content when switching to next item. I read through the previous posts and set the CacheMode to "BitmapCache" and still have the flicker.

XAML: 

<telerikPrimitives:RadSlideView x:Name="SlideView"
                                                ItemsSource="{Binding}"
                                                ItemRealizationMode="ViewportItem"
                                                IsLoopingEnabled="True"
                                                TransitionMode="Slide"
                                                SelectionChanged="SlideView_OnSelectionChanged"
                                                CacheMode="BitmapCache">

I do have both ItemTemplate and ItemPreviewTemplate set.

The app is free in Windows Phone Store - http://www.windowsphone.com/en-us/store/app/valentine-quotes/e9100626-7c1f-4e60-b923-54372535bb5e and has this flicker issue.

Please help!

thanks,
Prathiraj

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 13 Mar 2014, 12:39 PM
Hello Prathiraj,

Thank you for writing.

From the provided information, I can't reproduce flickering. It would be great if you could isolate the issue and send us a sample project that we can use to reproduce it so we can investigate further.

Please note that you are not allowed to attach files in forum posts, so you will need to open a new support ticket. Thank you for your cooperation.

Regards,
Todor
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
vamana
Top achievements
Rank 1
answered on 27 Mar 2014, 08:08 AM
Sorry for the delayed reply. I was trying to create a sample app with the issue and I found the solution. If I set the ItemRealizationMode to "Default" then there is no flickering, if it is "ViewportItem" then there is flickering. Let me know if you want me to upload the sample.

thanks,
Prathiraj
0
Todor
Telerik team
answered on 31 Mar 2014, 08:40 AM
Hi Prathiraj,

Thank you for getting back to us.

I'm still not able to reproduce the flickering even with ItemRealizationMode set to ViewportItem. However, I'd like to point out the difference between the two modes. When you use the default realization mode, RadSlideView loads three item - the one that is visible and the adjacent items. When you use ViewportItem realization mode, RadSlideView loads only the one item that is visible. When you try to slide to the next item, it starts loading and while it loads the content of RadSlideView will be blank, but not flickering in the way that it does when CacheMode is not set to BitmapCache.

I hope this information helps. If RadSlideView flickers in your scenario, then there must be something else that is causing it different than the ItemRealizationMode and a sample will be very helpful.


Regards,
Todor
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
SlideView
Asked by
vamana
Top achievements
Rank 1
Answers by
Todor
Telerik team
vamana
Top achievements
Rank 1
Share this question
or