简体   繁体   中英

Horizontal Listview in Xamarin.Forms

As the title stated above, I want to create horizontal ListView in xamarin.forms.

But the solutions and the examples that I found are not the kind of horizontal list that I want.

Every articles that i stumbled upon, the items are arranged like this

item1____item2____item3____item4____item5

What I want to do is something like this

item1___item2
item3___item4
item5___and so on

in windows phone we can do it like this

<ListBox.ItemsPanel> 
   <ItemsPanelTemplate>
        <toolkit:WrapPanel ItemWidth="222" ItemHeight="100"/>
   </ItemsPanelTemplate>
</ListBox.ItemsPanel> 

Right now, is it possible to create something like this in xamarin.forms?

To my knowledge there is no such thing implemented directly in Xamarin Forms. But there is a FlowListView control from Daniel Luberda. Maybe this is what you want:

在此输入图像描述

https://github.com/daniel-luberda/DLToolkit.Forms.Controls/tree/master/FlowListView/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM