SfRotator content "blinking" on Adnroid

Hello, 

I noticed strange SfRotator content blinking on Android. It seems to appear no on every device, but it happened always on Redmi 7A, MIUI 11.0.4, Android 10 QKQ1.

Please check attached screen recording. Rotator declaration is basic, the only not standard thing is that the page is PopupPage (from Rg.Plugins.Popup). It seems like any unexpected visualelement appears in front of rotator and hide part of it's content. When you start swipe rotator, content appears, but blinking sometimes when swiping, when just left it, only top part is visible. 

<xForms:SfRotator VerticalOptions="FillAndExpand" Margin="0,30,0,0"

                          SelectedDotColor="{DynamicResource RotatorDotSelectedColor}"
                          UnselectedDotColor="Transparent"
                          DotsBorderColor="{DynamicResource SecondaryTextColor}"

            ItemsSource="{Binding WelcomePages}" 
            SelectedIndex="{Binding SelectedIndex, Mode=TwoWay}"
                          
                          EnableLooping="False"
                          >
            <xForms:SfRotator.ItemTemplate>
                <DataTemplate>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition/>
                        </Grid.RowDefinitions>

                        <skiaSharpToolkit:SVGImage ResourceId="{Binding Image}" 
                                                   StringToReplace="{DynamicResource TipUsReplace}" />

                        <StackLayout Grid.Row="1" VerticalOptions="Center" Spacing="30" Margin="30,0">
                            <Label Text="{Binding Title}"
                                   TextColor="{DynamicResource PrimaryTextColor}"
                                   FontSize="Large"
                                   HorizontalTextAlignment="Center"
                                   FontAttributes="None"/>
                            <Label Text="{Binding Subtitle}"
                                   TextColor="{DynamicResource PrimaryTextColor}"
                                   Opacity="0.6" LineHeight="1.4"
                                   FontSize="Small"
                                   HorizontalTextAlignment="Center"/>
                        </StackLayout>

                    </Grid>
                </DataTemplate>
            </xForms:SfRotator.ItemTemplate>

            </xForms:SfRotator>


Best regards,
Radosław Kubas



6 Replies

RK Radoslaw Kubas October 23, 2020 02:12 PM UTC

Attachement... 


Attachment: SfRotatorProblem.m4v_1797f38c.zip


RK Radoslaw Kubas October 26, 2020 06:16 AM UTC

Hello,

I have some additional info / walkaround.

I noticed that when I start popup with rotator from MainPageViewModel just after app starts like bellow (using Prism) the problem is as in the attached previously video. If you analyse video you may notice that not whole rotator is blinking, small part (about 10%) on the top seems to be fine.

 public override void Initialize(INavigationParameters parameters)
{
 base.Initialize(parameters);

Device.BeginInvokeOnMainThread(() =>
{
     NavigationService.NavigateAsync(nameof(WelcomeMessagePopupPage));
});
}

If I just postpone popup opening (1000ms), everything seems to be fine.
Device.StartTimer(TimeSpan.FromMilliseconds(1000), () =>
{
 NavigationService.NavigateAsync(nameof(WelcomeMessagePopupPage));
 return false;
});

If I postpone popup for only 500ms result is interesting. Popup blinking, but this small fine part is bigger now, it is over 50% of rotator height, top is fine, bottom is blinking.

Device.StartTimer(TimeSpan.FromMilliseconds(500), () =>
{
 NavigationService.NavigateAsync(nameof(WelcomeMessagePopupPage));
 return false;
});

Best regards,
Radek




SS Suganya Sethuraman Syncfusion Team October 26, 2020 10:50 AM UTC

Hi Radoslaw,

Greetings from Syncfusion.

We have already fixed the reported issue “SfRotator content "blinking" on Adnroid”. The Fix for the reported issue will be included in our upcoming weekly NuGet release, which will be available on October 27th, 2020.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team October 28, 2020 05:49 AM UTC

Hi Radoslaw,

Thank you for your patience.

We have fixed the reported issue and included the issue fix in our latest Weekly NuGet release update version 18.3.0.44 which is available for download (https://www.nuget.org/ ).

We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 



RK Radoslaw Kubas October 28, 2020 10:14 AM UTC

Hello,

Thank you fro your support. I checked with leftest mentioned Sf version but unfortunately the problem still exist, for now the only solution seems to be mentioned delay in popup opening.

Best regards,
Radek


SS Suganya Sethuraman Syncfusion Team October 29, 2020 11:24 AM UTC

Hi Radoslaw,

We have created a new incident under your Direct trac account to follow up with this query. We suggest you to follow up with the incident for further updates. Please log in using the below link.

https://www.syncfusion.com/account/login

Regards,
Suganya Sethuraman  
 


Loader.
Up arrow icon