NativeScript / NativeScript/plugins

[RadListView][Android] crash if groupingFunction set from xml !

Open
#358 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
206
Forks
123
Avg merge
2d 1h
Merged PRs (30d)
1

Description

Hi,

I have the nativescript-ui-listview: 10. and having this issue, I've updated the plugin to 14.2.4 and still having same issue :

To reproduce :

  • Set groupingFunction from xml
  • click add this will causing crash

If you set the groupingFunction from the view model it will not crash

her sample project

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked StackBlitz sample and reproduce the crash on Android using groupingFunction in XML, then compare it with the view-model configuration that does not crash. Trace the add action and grouping setup; done means adding an item no longer crashes when groupingFunction is configured from XML.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.