Nativescript-ui-feedback: Android RadListView filter while swiping animation crash

Created on 9 May 2019  路  1Comment  路  Source: ProgressNS/nativescript-ui-feedback

Please, provide the details below:

Tell us about the problem

With swipe actions enabled and while the swipe animation isn't completed you apply a filtering function the app crashes with an uncaught exception.

com.tns.NativeScriptException: 
Calling js method onSwipeProgressChanged failed

Error: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.util.ArrayList.get(ArrayList.java:437)
com.telerik.widget.list.ListViewDataSourceAdapter.getItemId(ListViewDataSourceAdapter.java:403)
...

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

  • Progress NativeScript UI plugin version: 6.1.0
  • CLI: playground
  • Cross-platform modules: 5.3.1
  • Runtime(s): playground

Please tell us how to recreate the issue in as much detail as possible.

Sample: https://play.nativescript.org/?template=play-tsc&id=uQmH4X&v=1

  1. Swipe an item to the right.
  2. Quickly tap the heart icon in the ActionBar to trigger filtering before the animation is complete.
backlog bug listview android critical

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings