Slideview still has flicker with CacheMode set to BitmapCache

4 posts, 0 answers
  1. vamana
    vamana avatar
    2 posts
    Member since:
    Feb 2012

    Posted 10 Mar 2014 Link to this post

    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
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 13 Mar 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. vamana
    vamana avatar
    2 posts
    Member since:
    Feb 2012

    Posted 27 Mar 2014 Link to this post

    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
  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 31 Mar 2014 Link to this post

    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.

     
Back to Top
DevCraft banner