We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

how to handle java.null pointer exception in XF using SfRotator

Hi,

i have binded images to the Sf rotator . its working fine. 
here is my code in C#:

  for (int i = 1; i < 6; i++)
            {
                SfRotatorItem sliderItem = new SfRotatorItem();
                sliderItem.Image = "Movie" + i + ".jpg";
                rotator.DataSource.Add(sliderItem);
            }

my code in Xaml:

 <rotator:SfRotator  SelectedIndex="0" EnableAutoPlay="False"  EnableLooping="False" HeightRequest="200" x:Name="rotator" NavigationStripMode="Dots"  NavigationStripPosition="Top" NavigationDirection="Horizontal" NavigationDelay="1000" >


everything is fine but when i tried to scroll on the last image horizontally... i am getting this "Unhandled Exception Java.Lang.NullPointerException: "  error ..

Can anyone suggest how to overcome this??

1 Reply

HM Hemalatha Marikumar Syncfusion Team May 25, 2016 07:16 AM UTC

Hi Uday kumar,

We could see that you have raised the same query in forum 124084 and an incident has been created under your account. Please follow up that incident for further updates.

Support website: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/

Regards,
Hemalatha M.R


Loader.
Up arrow icon