Open jokro opened 6 years ago
Hi @jokro,
Thank you for the provided sample project. I was able to recreate the issue on my side on Android. This scenario seems to work as expected on iOS.
Meanwhile, you can try getting an instance of the RadListView component using getViewById() method and setting up the swipeActions
property value via code-behind:
let listview = page.getViewById('<listview_id>');
listview.swipeActions = <needed value> /* true|false*/
In playground I provided an example with an instruction how to see the bug.
I need longPress on a RadListView. If swipeActions="false" I can put onLongPress in a StackLayout inside the item template. If swipeActions="true" this solution does not work anymore. For that reason I tried to toggle swipeActions to true/false by using {{-binding. My example shows that once swipeActions has been toggeled true, it is possible to toggle it false again, but then swiping is not made possible again.
I also implemented itemSwiping. The existence or absense of this function has no effect in combination with {{-binding of swipeActions. If I use itemSwiping without {{-binding of swipeActions, setting swipeActions to true, does not solve my above problem, as it prevents longPress inside StackLayout from working.