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??