Closed SingleMalted closed 3 years ago
I was able to fix my issue with the groupingFunction
for iOS
. It's seems that the groupingFunction
has to return a string.
get myGroupingFunc(): (item: any) => any {
return (item: DataItem) => {
// return item.category
return item.category === 1 ? "First Group" : "Second Group";
};
}
Tell us about the problem
App crashes when
RadListView
groupingFunction
is set on iOS.Which platform(s) does your issue occur on?
iOS device & simulator - any OS version
Please provide the following version numbers that your issue occurs with:
NS+TS CLI: 8.0.1 NS Core: 8.0.1 iOS Runtime: 8.0.0 nativescript-ui-listview: 9.1.0
Please tell us how to recreate the issue in as much detail as possible.
RadListView
RLV
groupingFunction
in either the UI or Code-behindIs there code involved? If so, please share the minimal amount of code needed to recreate the problem.
iOS Crash Log
Ref: https://github.com/ProgressNS/nativescript-ui-feedback/issues/1374#issuecomment-820512224