-
-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
Which platform(s) does your issue occur on?
- Android 11, real device (Samsung phone)
Please, provide the following version numbers that your issue occurs with:
- CLI: 7.1.2
- Cross-platform modules: 7.1.4
- Runtime(s): 7.0.1
- Plugin(s):
"dependencies": {
"@nativescript-community/ui-collectionview": "^4.0.24",
"@nativescript/core": "^7.1.4",
"@nativescript/firebase": "^11.1.3",
"@nativescript/theme": "^3.0.1",
"@nstudio/nativescript-cardview": "^2.0.1",
"@nstudio/nativescript-checkbox": "^2.0.4",
"@nstudio/nativescript-loading-indicator": "^4.0.0",
"@triniwiz/nativescript-image-cache-it": "^7.0.5",
"@triniwiz/nativescript-image-zoom": "^4.0.0",
"@triniwiz/nativescript-toasty": "^4.1.1",
"nativescript-carousel": "^7.0.1",
"nativescript-exit": "1.0.1",
"nativescript-gif": "^5.0.0",
"nativescript-material-icons": "^1.0.3",
"nativescript-permissions": "^1.3.11",
"nativescript-phone": "^2.0.0",
"nativescript-photoviewer": "^2.1.5",
"nativescript-ui-dataform": "^7.0.4",
"nativescript-ui-listview": "^9.1.0",
"nativescript-ui-sidedrawer": "^9.0.3",
"nativescript-youtubeplayer": "^3.0.1"
},
"devDependencies": {
"@nativescript/android": "7.0.1",
"@nativescript/ios": "7.1.1",
"@nativescript/webpack": "~4.0.0",
"sass": "1.26.7"
},
Please, tell us how to recreate the issue in as much detail as possible.
<gv:CollectionView items="{{ items }}" colWidth="50%" rowHeight="167" itemTap="onItemSelected">
<gv:CollectionView.itemTemplate>
<Label text="{{ name }}" id="{{ 'check'+index }}" verticalAlignment="center"/>
</gv:CollectionView.itemTemplate>
</gv:CollectionView>
exports.onItemSelected = function(args){
const selectedItem = page.getViewById('check'+args.index);
console.log(selectedItem); // returns undefined
}
I'm trying to replace Radlistview with this plugin but I can't to this so I can't use it as of yet. Am I doing something wrong or is it a bug?
Metadata
Metadata
Assignees
Labels
No labels