Support for NativeScript v9 sectioned ListView with Angular templates
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angular, typescript
- Domain
- frontend, mobile-dev
Research direction
Start at the @nativescript/angular ListView template integration and compare how nsTemplateKey values are handled for item templates. Verify the sectioned and sticky-header example against NativeScript core 9.x on iOS and Android; done means both Angular templates render with native section headers and sticky-header behavior.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
NativeScript 9 introduced native sectioned ListView support with sticky headers (Announcement). This feature is not yet supported with @nativescript/angular templates.
Describe the solution you'd like
Support for Angular templates in sectioned ListView:
<ListView sectioned="true" stickyHeader="true" [items]="sections">
<ng-template nsTemplateKey="header" let-section>
<Label [text]="section.title"></Label>
</ng-template>
<ng-template nsTemplateKey="item" let-item>
<Label [text]="item.name"></Label>
</ng-template>
</ListView>
Describe alternatives you've considered
Flattening sections into a single array with type discriminator and using itemTemplateSelector, but this loses native sticky header behavior.
Additional context
- @nativescript/core: 9.x
- @nativescript/angular: 20.0.0, 21.0.0-rc0
- iOS / Android
- Dominant language
- TypeScript
- Stars
- 55
- Forks
- 13
- Avg merge
- 16m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NativeScript/angular
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
NativeScript/angular#170 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
NativeScript/angular#164 ·
-
My types are gone Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
NativeScript/angular#163 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
NativeScript/angular#155 ·
-
NativeScript/angular#154 · 1 assignee ·
All issues in NativeScript/angular
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·