-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.NullReferenceException: Object reference not set to an instance of an object. #9
Comments
Hi I will investigate this problem little bit later |
ContentView worked! thanks. |
Let me know if you want me to open a new issue or not. But I've found that (in android) swiping between images can be finicky. Sometimes the image will stick slightly off to the side, sometimes it won't detect the swipe at all. This plugin is great though. Excellent work. I might ask for one addon though, could you add a click/tap event to a slide/card? |
Yes, please. Creating separate issue would be awesome. I think, you can close this, because this plugin supports only views as card items.. viewcell doesn't match t |
Sorry.. i'm writtinf from my mobile phone... |
But as for detecting swipe, try to set InCourse property to false |
By the way, you can add tap or click by youself) |
@Nixon-Joseph Where did you go?( |
Sorry, it was my weekend, and this is a work project. I ViewCell not being a view makes a lot of sense, I'll keep that in mind. I guess I was thinking of it as a ListView. I'll try the InCourse property today and see if that helps. And I did add a tap event myself, it's not a huge thing, just thought it would be nice to have built in :) The last carousel I used was intercepting all input, I couldn't even add a tap listener to the element containing the carousel. It just wouldn't fire. Yours seems great. |
Getting a null reference exception when trying to initialize the carousel view. I don't have a lot of info, because I can't track down the source of the exception, and no amount of try-catches have been able to narrow it down.
I'm trying to use your carousel, because the only other decent option has stopped support, and is giving me too much grief.
My code for initializing the carousel is:
From what I can tell, the exception gets thrown sometime after the code runs the
return new ViewCell() { View = img };
line.The text was updated successfully, but these errors were encountered: