This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115
stars
21
forks
source link
RadListView deselectItemAt is not triggering itemDeselected event (iOS only) #412
introduce itemDeselected and itemSelected methods.
export function onItemSelected(args) {
console.log("onItemSelected"); // works as expected
}
export function onItemDeselected(args) {
console.log("onItemDeselected"); // wont trigger on iOS when listView.deselectItemAt(Number(txtDeselectItemIndex.text)); is called!!
}
and in [the XML file](https://github.com/telerik/nativescript-ui-samples/blob/release/sdk/app/listview/listview-selection/programmatic-selection.xml#L19)
```
Result: the itemDeselected event will not be triggered via the programmatic method `deselectItemAt` on iOS (will work as expected on Android).
The method
deselectItemAt
for RadListView is not triggering theitemDeselected
event on iOS. The same works as expected on Android.Steps to reproduce:
export function onItemDeselected(args) { console.log("onItemDeselected"); // wont trigger on iOS when listView.deselectItemAt(Number(txtDeselectItemIndex.text)); is called!! }