Comments (14)
OK Fixed it. Name of property has changed to an _hScrollView. Easy when you know how!
_scrollView = (HorizontalScrollView)typeof(ScrollViewRenderer)
.GetField ("_hScrollView", BindingFlags.NonPublic | BindingFlags.Instance)
.GetValue (this);
from xamarin-forms-carouselview.
same problem.
from xamarin-forms-carouselview.
Anyone find a solution to this ? Have been trying all sorts of work arounds but nothing working :-(
from xamarin-forms-carouselview.
Also having this issue
from xamarin-forms-carouselview.
Yes, it works now! Thanks @mannyvm!
from xamarin-forms-carouselview.
Thanks it works perfectly. Good work @mannyvw
from xamarin-forms-carouselview.
Works like a charm. Thank @mannyvw
from xamarin-forms-carouselview.
It work!
Thank you.
from xamarin-forms-carouselview.
Many many thanks, it worked like a charm... :)
from xamarin-forms-carouselview.
I am still having trouble with the CarouselLayoutRenderer.cs
At line 40 with latest code from git and latest Xamarin version the _scrollView is still null.
What can I do?
from xamarin-forms-carouselview.
It's worth pointing out here that if you are on a version of Xamarin forms lower than 2.2.0.31, then the reverse of this applies. I.e. the original post by @mannyvw which contains the field "hScrollView" is the correct line, rather than "_hScrollView". The reason I point this out is that the code has been updated to include the newer field, so this code on older versions of forms will break.
Perhaps it might be ideal to check for the existence of the original, and then use the newer one, so that it works with both? Just a thought.
Either way, great post @mannyvw - this saved me a lot of time.
from xamarin-forms-carouselview.
Thanks . As an update in a new project I started I also needed a carousel view and there is actually an official from Xamarin now, it was supposed to be included in Xamarin Forms 2.3.0, but it was removed because of stability issues ? anyway it has its own NuGet instead. have been using it on android and ios for past few months and its been fine.
https://xamarinhelp.com/carousel-view-xamarin-forms/
NuGet is Xamarin.Forms.CarouselView
thanks
from xamarin-forms-carouselview.
Cheers for that - I had been keeping an eye on that, but the one thing that was crucial to this for me for UX reasons was the page indicators. This solution contains it from the start, and they are customisable as well, so was absolutely ideal. When Xamarin implement the indicators as well, then I may well switch over to theirs. Thanks for the prompt feedback - appreciated.
from xamarin-forms-carouselview.
Yeah my original UX had the pips too , i just did them programatically in forms, although they have been removed now. bloody designers ;-)
from xamarin-forms-carouselview.
Related Issues (20)
- Xamarin.Forms 2.1 dots crash HOT 1
- Anyone working on porting to UWP? HOT 3
- Xamarin.forms 2.2.0 update HOT 7
- Vertical Orientation Carousel View.
- Slow swipe - System.InvalidOperationException: Sequence contains more than one element HOT 4
- [iOS] Slide to view when SelectedIndex or SelectedItem changed. HOT 1
- Carousel reset only on iOS when device's orientation change HOT 6
- CarouselView Broken on UWP
- No Children Collection
- Adding Images ?
- Issue with Latest Xamarin Forms HOT 1
- Not update if page collection modifed HOT 2
- Update recipe to use Xamarin.Forms.CarouselView
- Navigation issue
- How to get control value from all views? Is it Possible HOT 1
- There is no page indicator
- General use case example missing
- how to use HOT 1
- Nullreference on Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xamarin-forms-carouselview.