Skip to content
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

ItemTemplate of Items #18

Open
criss02-cs opened this issue Feb 3, 2024 · 4 comments
Open

ItemTemplate of Items #18

criss02-cs opened this issue Feb 3, 2024 · 4 comments

Comments

@criss02-cs
Copy link

Hi, how can i make a ItemTemplate for items source? In your code example i didn't find nothing

@xtuzy
Copy link
Owner

xtuzy commented Feb 4, 2024

it not use itemtemplate, it like uicollectionview.

@criss02-cs
Copy link
Author

I'm sorry if I tell you, but the way you structured it goes a bit against the method that uses XAML. Furthermore, it is very inconvenient for me to have to define the items in that way, wouldn't you be able to add a property for the item template? In my opinion it would be much more intuitive to use

@xtuzy
Copy link
Owner

xtuzy commented Feb 8, 2024

it is not aim of this project that use xaml, this project impliment collectionview base on scrollview, it supply some method let you custom anything of collectionview.
maui official collectionview have a easy way to show data, but if you want complex function, you need know platform collectionview how to work and custom for every platform.

i advice you try https://github.com/Redth/Maui.VirtualListView

@davibittencourtome
Copy link

I also don't understand how I'm going to draw a custom item to display in the MAUICollectionView

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants