René's URL Explorer Experiment


Title: Sectioned ListView may return wrong template · Issue #11133 · NativeScript/NativeScript · GitHub

Open Graph Title: Sectioned ListView may return wrong template · Issue #11133 · NativeScript/NativeScript

X Title: Sectioned ListView may return wrong template · Issue #11133 · NativeScript/NativeScript

Description: Issue Description When using a sectioned ListView the template returned by _getItemTemplate may be wrong if multiple templates are used. _getItemTemplate calls _getDataItem which doesn't consider the structure of the data of a sectioned ...

Open Graph Description: Issue Description When using a sectioned ListView the template returned by _getItemTemplate may be wrong if multiple templates are used. _getItemTemplate calls _getDataItem which doesn't consider t...

X Description: Issue Description When using a sectioned ListView the template returned by _getItemTemplate may be wrong if multiple templates are used. _getItemTemplate calls _getDataItem which doesn't consid...

Opengraph URL: https://github.com/NativeScript/NativeScript/issues/11133

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sectioned ListView may return wrong template","articleBody":"### Issue Description\n\nWhen using a sectioned `ListView` the template returned by `_getItemTemplate` may be wrong if multiple templates are used. `_getItemTemplate` calls `_getDataItem` which doesn't consider the structure of the data of a sectioned `ListView`. The method `_getDataItemInSection` is available to get the correct item.\n\nThe issue can be solved by adding a `_getItemTemplateInSection` method that calls `_getDataItemInSection` instead. \n\nOn iOS the methods `tableViewCellForRowAtIndexPath`, `tableViewHeightForRowAtIndexPath` and `_prepareCell` need to be updated to use `_getItemTemplateInSection` when a sectioned `ListView` is used.\n\nOn Android the methods `getItemViewType` and `_createItemView` need to be updated to use `_getItemTemplateInSection`.\n\n\n### Reproduction\n\n_No response_\n\n### Relevant log output (if applicable)\n\n```shell\n\n```\n\n### Environment\n\n```yaml\nOS: macOS 15.7.4\nCPU: (10) arm64 Apple M1 Max\nShell: /bin/zsh\nnode: 22.20.0\nnpm: 10.9.3\nnativescript: 9.0.3\n\n# android\njava: 21.0.9\nndk: Not Found\napis: 35\nbuild_tools: 26.0.2, 27.0.1, 28.0.1, 28.0.3, 30.0.0, 30.0.3, 31.0.0, 32.0.0, 33.0.0, 33.0.1, 33.0.2, 34.0.0, 35.0.0, 35.0.1\nsystem_images: \n  - android-31 | Google APIs ARM 64 v8a\n  - android-31 | Google Play ARM 64 v8a\n  - android-35 | Google Play ARM 64 v8a\n  - android-36 | Google Play ARM 64 v8a\n\n# ios\nxcode: 16.4/16F6\ncocoapods: 1.16.2\npython: 2.7.18\npython3: 3.13.7\nruby: 3.3.9\nplatforms: \n  - DriverKit 24.5\n  - iOS 18.5\n  - macOS 15.5\n  - tvOS 18.5\n  - visionOS 2.5\n  - watchOS 11.5\n```\n\n### Dependencies\n\n```json\n\"dependencies\": {\n  \"@klippa/nativescript-http\": \"^3.0.4\",\n  \"@nativescript-community/ui-material-bottomsheet\": \"^7.2.77\",\n  \"@nativescript/core\": \"~9.0.0\",\n  \"@nativescript/firebase-core\": \"^5.0.2\",\n  \"@nativescript/firebase-crashlytics\": \"^5.0.2\",\n  \"@nativescript/firebase-messaging\": \"^5.0.2\",\n  \"@nativescript/localize\": \"^5.2.0\",\n  \"@nativescript/theme\": \"~3.0.2\",\n  \"@nstudio/nativescript-barcodescanner\": \"^5.0.1\",\n  \"nativescript-vue\": \"~3.0.0\",\n  \"patch-package\": \"^8.0.1\",\n  \"pinia\": \"^3.0.4\",\n  \"sass\": \"1.70\",\n  \"sharp\": \"^0.34.4\",\n  \"url-parse\": \"^1.5.10\"\n},\n\"devDependencies\": {\n  \"@nativescript/android\": \"~9.0.0\",\n  \"@nativescript/ios\": \"9.0.3\",\n  \"@nativescript/tailwind\": \"^4.0.7\",\n  \"@nativescript/types\": \"~9.0.0\",\n  \"@nativescript/webpack\": \"^5.0.31\",\n  \"@types/node\": \"^20.19.19\",\n  \"@typescript-eslint/eslint-plugin\": \"^8.56.0\",\n  \"@typescript-eslint/parser\": \"^8.56.0\",\n  \"@vue/eslint-config-typescript\": \"^14.7.0\",\n  \"eslint\": \"^10.0.0\",\n  \"eslint-plugin-vue\": \"^10.8.0\",\n  \"replace-in-file-webpack-plugin\": \"^1.0.6\",\n  \"tailwindcss\": \"^4.1.18\",\n  \"tsconfig-paths-webpack-plugin\": \"^4.2.0\",\n  \"typescript\": \"~5.8.0\"\n}\n```\nNote: some private dependencies have been omitted\n\n### Please accept these terms\n\n- [x] I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\n- [x] This is a bug report\n- [x] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/BozzaDaniel","@type":"Person","name":"BozzaDaniel"},"datePublished":"2026-03-10T13:54:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/11133/NativeScript/issues/11133"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5058d833-1207-704b-6cdb-d71d4ed642c9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8692:266203:72AE3A:9DE3E5:6A63A950
html-safe-noncedd4c594091371e519b190508535d78638a00027b890a6eeb5410d90000624f10
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjkyOjI2NjIwMzo3MkFFM0E6OURFM0U1OjZBNjNBOTUwIiwidmlzaXRvcl9pZCI6IjE1NzY0NzM1MDc5NDU5MTUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac72fe026b373a8ad4840b5496475fb45354f374891ad37e6a96141bc362dab217
hovercard-subject-tagissue:4051973116
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/11133/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e7fe3cef91e4d3de601dfba165bd6da1c96ca208c2ff4b953147c5d7b226d976/NativeScript/NativeScript/issues/11133
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e7fe3cef91e4d3de601dfba165bd6da1c96ca208c2ff4b953147c5d7b226d976/NativeScript/NativeScript/issues/11133
og:image:altIssue Description When using a sectioned ListView the template returned by _getItemTemplate may be wrong if multiple templates are used. _getItemTemplate calls _getDataItem which doesn't consider t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBozzaDaniel
hostnamegithub.com
expected-hostnamegithub.com
None4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3a0a9f049e072eb8e5795dfddcefdba9e277501d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/issues/11133#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F11133
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F11133
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/issues/11133
Reloadhttps://github.com/NativeScript/NativeScript/issues/11133
Reloadhttps://github.com/NativeScript/NativeScript/issues/11133
Please reload this pagehttps://github.com/NativeScript/NativeScript/issues/11133
NativeScript https://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Please reload this pagehttps://github.com/NativeScript/NativeScript/issues/11133
Notifications https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.6k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://github.com/NativeScript/NativeScript
Issues 771 https://github.com/NativeScript/NativeScript/issues
Pull requests 66 https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security and quality 0 https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Code https://github.com/NativeScript/NativeScript
Issues https://github.com/NativeScript/NativeScript/issues
Pull requests https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security and quality https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
#11184https://github.com/NativeScript/NativeScript/pull/11184
Sectioned ListView may return wrong templatehttps://github.com/NativeScript/NativeScript/issues/11133#top
#11184https://github.com/NativeScript/NativeScript/pull/11184
bug-pending-triageReported bug, pending triage to confirm.https://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22bug-pending-triage%22
https://github.com/BozzaDaniel
BozzaDanielhttps://github.com/BozzaDaniel
on Mar 10, 2026https://github.com/NativeScript/NativeScript/issues/11133#issue-4051973116
existing issueshttps://github.com/NativeScript/NativeScript/issues
StackOverflowhttps://stackoverflow.com/questions/tagged/nativescript
Code of Conducthttps://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc
bug-pending-triageReported bug, pending triage to confirm.https://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22bug-pending-triage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.