NativeScript / NativeScript/plugins
NS8 RadListView problems
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 123
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Description
Dear NS Group,
I upgraded my Angular project from NS6 to NS8 and i got some error with RadListView.
- When i set
pullToRefresh="true"then i got this error:
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method onCreateView failed
System.err: Error: java.lang.NoClassDefFoundError: com.telerik.widget.list.SwipeRefreshBehavior
System.err:
System.err: StackTrace:
System.err: updatePullToRefreshBehavior(file: src\webpack:\libra-igazolo-app\node_modules\nativescript-ui-listview\index.android.js:1855:0)
... - When i want to use
scrollToIndexfunction then i got this error:
this.radList.scrollToIndex is not a function
here is my package:
{
"name": "libra-igazolo-app",
"main": "./src/main.ts",
"version": "1.0.0",
"private": true,
"dependencies": {
"@angular/animations": "~13.2.0",
"@angular/common": "~13.2.0",
"@angular/compiler": "~13.2.0",
"@angular/core": "~13.2.0",
"@angular/forms": "~13.2.0",
"@angular/platform-browser": "~13.2.0",
"@angular/platform-browser-dynamic": "~13.2.0",
"@angular/router": "~13.2.0",
"@nativescript-community/ui-drawer": "^0.0.33",
"@nativescript/angular": "^13.0.0",
"@nativescript/background-http": "^6.0.0",
"@nativescript/camera": "^5.0.10",
"@nativescript/core": "~8.2.0",
"@nativescript/imagepicker": "^1.0.6",
"@nativescript/theme": "~3.0.2",
"@nstudio/nativescript-loading-indicator": "^3.0.4",
"atob": "^2.1.2",
"base-64": "^0.1.0",
"crypto-js": "^3.1.9-1",
"lodash": "^4.17.15",
"nativescript-barcodescanner": "^4.1.2",
"nativescript-ui-listview": "^10.0.2",
"q-encoding": "^1.0.0",
"reflect-metadata": "~0.1.12",
"rxjs": "~7.5.0",
"utf8": "^2.1.2",
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.2.0",
"@angular/compiler-cli": "~13.2.0",
"@nativescript/android": "~8.2.0",
"@nativescript/ios": "~8.2.0",
"@nativescript/types": "~8.2.0",
"@nativescript/webpack": "~5.0.6",
"@ngtools/webpack": "~13.2.0",
"tslint": "5.7.0",
"typescript": "~4.5.5"
}
}
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.
Research direction
Start by reproducing the two Android failures with the package versions in the reported dependencies, then inspect nativescript-ui-listview's index.android.js at updatePullToRefreshBehavior and the RadListView scrollToIndex entry point. Done means identifying whether both errors reproduce on the stated NativeScript 8 setup and documenting a confirmed fix or compatibility issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, angular, typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100