Nativescript-ui-feedback: RadlistView Android Crash on reorder list

Created on 22 Oct 2018  路  2Comments  路  Source: ProgressNS/nativescript-ui-feedback

Please take a minute to read our NativeScript Code of Conduct before proceeding with posting issues or discussing. The purpose of this guide is to make communication and cooperation within our forums a pleasure for you and the other members.

Please, provide the details below:

Did you verify this is a real problem by searching the NativeScript Forum?

_Yes_

Tell us about the problem

The App crashses on android when i try to reorder the list and the list of items is greater than the radlistview size, the crashes occurs when the item is dragged to the bottom/top of the list and the radlistview needs to be scrolled. If the list don't need to be scrolled, the app seems to work fine.

Which platform(s) does your issue occur on?

_iOS/Android/Both (if applicable tell us the specific version of the platform)_
Android. IOS works fine

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

  • Progress NativeScript UI version: 3.6.1
  • CLI: 4.2.3
  • Cross-platform modules: 4.2.1
  • Runtime(s): 4.2.0

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

  1. Start the application ..
  2. Select an item
  3. Try to reorder the list and drag the item to a position that needs to be scrolled.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

https://play.nativescript.org/?template=play-ng&id=AObwIL

backlog bug listview android medium

Most helpful comment

Hey, @tsonevn
I tried use the ObservableArray and it works very well on my application.
Thank you.

All 2 comments

Hi @gustavokessler,
Thank you for the provided sample project.
I was able to recreate the issue on my side and I will mark it as a bug.
Also, I notice that the problem appears while using the core JavaScript array. Can you try replacing it with ObservableArray and check if you will be able to recreate the problem. Example.

Hey, @tsonevn
I tried use the ObservableArray and it works very well on my application.
Thank you.

Was this page helpful?
0 / 5 - 0 ratings