Nativescript RadListview Add new Items disturb the screen



Sir Iam using Nativescript RadListview for chat application. But When I add new items to the list the screen disturb. That mean the screen disturb when we call listview.refresh(). Is there any other option to add new items to the list without refresh.


You should not call refresh as it reloads your list view, you should use an Observable Array (in you are using Core flavour) as soon you push an item will appear on UI without reloading view.


Sir Thanks for the quick response. Iam using Javascript not typescript. can u provide any javascript version of the same?