Having the ability to set the orientation of a listview, if I need it to scroll up/down or left/right
using Xamarin.Forms; var List = new ListView(); List.Orientation = ListViewOrientation.Horizontal;
The most common use case for this one is to have multiple elements like App Store or Google Play store
Posts
Wouldn't this just be a
CarouselView
?hey @PierceBoggan , Correct me if i'm wrong but CarouselView just displays one item at the time, and the intend for this one is to display as many items as the screen width can just like ListView does but horizontally.
@MiguelCervantes , You can use Syncfusion ListView. It has support for both Horizontal and Vertical Orientation. By simply setting the property, Orientation="Horizontal".
https://help.syncfusion.com/xamarin/sflistview/viewappearance#orientation
Note: Syncfusion controls is available for free through the community license program if you qualify (less than 1 million USD in revenue).
The Telerik RadLIstview also provides this feature.
Depending or not if you require virtualisation, you could create a bindable StackLayout with orientation set to horizontal.
Hello @MiguelCervantes, you might want something like Instagram horizontal ListView?
Here it is something very similar to it. I hope it can help you.
http://www.fabiocozzolino.eu/a-little-and-simple-bindable-horizontal-scroll-view/
Also, I encourage you to follow my Xamarin Flipboard Magazine, where I post this kind of features:
https://flipboard.com/@josejesusri1t82/say-hello-to-xamarin-9icb7ocoy
Have all a nice day!
You can rotate your ListView and then your ListView items (ViewCells) as well, it's a workaround, but it gets the job done.
I vote for this feature plus RTL direction support. And maybe this will open the issue with layout flow direction as well. As I understand, XF does not support yet RTL in shared project level.
IMO Listview is one of the most used views in XF, I think this one should be out of the box instead of having a third party for that
@MiguelCervantes
Pudiste resolverlo?, que utilizaste?
There are several workarounds but I agree with you, this should be directly in Xamarin Forms
can you try the sample ...HorizontalListViewMVVM
How would I press like on this thing?