NativeScript / NativeScript/plugins
NS8 RadListView problems
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 206
- Fork
- 123
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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"
}
}
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện hai lỗi Android với các phiên bản package trong các dependency được báo cáo, sau đó kiểm tra nativescript-ui-listview's index.android.js tại updatePullToRefreshBehavior và entry point scrollToIndex của RadListView. Hoàn tất có nghĩa là xác định liệu cả hai lỗi có tái hiện trên thiết lập NativeScript 8 đã nêu hay không và ghi lại một bản sửa đã được xác nhận hoặc một vấn đề tương thích.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, angular, typescript
- Lĩnh vực
- mobile-dev
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100