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

Implement Header/Footer Capabilities #10

Open
keerl opened this issue Nov 8, 2020 · 3 comments
Open

Implement Header/Footer Capabilities #10

keerl opened this issue Nov 8, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@keerl
Copy link
Contributor

keerl commented Nov 8, 2020

In order for this plugin to be an alternative to RadListView, one of the features missing is being able to make a header and footer easily.

https://docs.nativescript.org/ui/components/radlistview/header-footer

It would be nice to have reserved template keys for header and footer build-in.

@keerl keerl added the enhancement New feature or request label Nov 8, 2020
@keerl keerl added this to Backlog in ui-collectionview Nov 8, 2020
@farfromrefug
Copy link
Member

To be clear it is already possible. Use a "header" or "footer" templates.
However the real usecase is to have the binding context of the listview and not the of the item.
Right I don't really need so not a priority to me.
But obviously anyone who wants to make a PR is welcome.

@keerl
Copy link
Contributor Author

keerl commented Nov 8, 2020

So you're saying it's possible by using templates currently, but you would have to have a "header" and "footer" item in the data that is being bound to the CollectionView? I figured that would be the case, I would just ideally want a more friendly way to do it, like RadListView does. I may take a crack at this eventually. I just created this as more of a wish-list sort of item to keep track of.

@farfromrefug
Copy link
Member

Yes good wishlist though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants