svelte-native-nativescript-ui icon indicating copy to clipboard operation
svelte-native-nativescript-ui copied to clipboard

RadListView and ListView loses order after item 16

Open chameleonbr opened this issue 6 years ago • 2 comments

I had this problem with ObservableArray in both the Nativescript listView and RadListView. If I add only 10 items to the array everything works perfectly, if I add 20, until the 16 item the order is fine, but after that all is lost. I was very confused and got to download your package and build the demo application and everything happens the same way.

I did the test on demo project by modifying the initial list to 10 items and adding 10 more later by onLoadMoreDataRequested. After executing the method the order is all messed up.

chameleonbr avatar Jan 06 '20 06:01 chameleonbr

What do you mean by order lost? Do you think view are not updated while scrolling? I mean listviews use cell reusing to not recreate views of every list view item. Do you thinknyour issue might be cell reusing not working?

farfromrefug avatar Feb 07 '20 21:02 farfromrefug

@chameleonbr could you post the code you used so I can reproduce please

halfnelson avatar Mar 18 '20 22:03 halfnelson