How to dynamicly add data to list

Now I have about 2 thoursand data to load and show in lv_list .Is there any good method to realize it ,for the embeded device I use has very limited memory . Is there any good practice to separate the data from the view .like lv_list_set_data(data) then the list show up in a saving memory way

2000 items would be painful to scroll through even if you had the RAM for it. I suggest that you find some way of categorizing your data and getting users to choose a category before you create the list.

1 Like