BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Hey,
I am using Prism with Xamarin Forms with all the
packages up to date. I am using SfRotator, SfNavigationDrawer etc. in my
project but my issue is with the SfRotator. The images in the rotator
are not being displayed. I have tried using the control which was
not displaying any images. I moved to FFImageLoading which works outside
the SfRotator but not inside. Also, if i put a inside the , or if i use a CachedImageFastRenderer, it throws a NullReferenceException
Following are the code snippets:
public class MainPageViewModel : ViewModelBase
{
private List imageCollection;
public List ImageCollection
{
get { return imageCollection; }
set { SetProperty(ref imageCollection, value); }
}
public MainPageViewModel(INavigationService navigationService)
: base(navigationService)
{
Title = "Main Page";
ImageCollection = new List();
ImageCollection.Add(new OfferSection ("offer1.jpg", "1" ));
ImageCollection.Add(new OfferSection ("offer2.jpg", "2" ));
ImageCollection.Add(new OfferSection ("offer3.png", "3" ));
}
OfferSection.cs
public class OfferSection
{
public string Image { get; set; }
public string OfferId { get; set; }
public OfferSection(string image, string id )
{
Image = image;
OfferId = id;
}
Thanks in advance. Waiting for a prompt response