5 Answers, 1 is accepted
0
Bassanio
Top achievements
Rank 1
answered on 25 Feb 2014, 03:25 PM
Forgot to tell it was wrapped in Phonegap. The error appeared when the APP started and began to load data into ListView
0
Hello Bassanio,
Since you are loading large number of items in the listview, can you check whether endless scrolling or local data virtualization is applicable for your scenario? Thus you should be able to optimize the performance of the listview.
Regards,
Sebastian
Telerik
Since you are loading large number of items in the listview, can you check whether endless scrolling or local data virtualization is applicable for your scenario? Thus you should be able to optimize the performance of the listview.
Regards,
Sebastian
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Bassanio
Top achievements
Rank 1
answered on 27 Feb 2014, 04:48 AM
Endliess Scrolling could make the ListView work, even when scrolled to the last row. However, Xcode gave "Terminated due to Memory Errror" (not Memory Pressure this time) when I tried to Filter it.
It only happens to Phonegap when running on iOS7, no problems on iOS6, and of course no problem under desktop Safari.
The most scary part is when you complete development in desktop environment smoothly but suddenly found this problem after wrapped into Phonegap and run on iOS7.
I have attached the Instrument showing the moment "Terminated due to Memory Pressure" appear when debugging on my iPad Air. Thanks!
It only happens to Phonegap when running on iOS7, no problems on iOS6, and of course no problem under desktop Safari.
The most scary part is when you complete development in desktop environment smoothly but suddenly found this problem after wrapped into Phonegap and run on iOS7.
I have attached the Instrument showing the moment "Terminated due to Memory Pressure" appear when debugging on my iPad Air. Thanks!
0
Bassanio
Top achievements
Rank 1
answered on 27 Feb 2014, 05:51 AM
Okay, I have run into some display problem while using filter with endless scrolling.
http://jsbin.com/fomuq/1/edit
Scroll the List View to 2/3 and apply the filter, ummm.....I think I need to find a way to scroll the List View back to top after applying the filter. However, refresh() not do. I found this "kendoMobileApplication.view.scroller.element.find(".km-scroll-container").css("-webkit-transform","");" in another thread but also not working.
http://jsbin.com/fomuq/1/edit
Scroll the List View to 2/3 and apply the filter, ummm.....I think I need to find a way to scroll the List View back to top after applying the filter. However, refresh() not do. I found this "kendoMobileApplication.view.scroller.element.find(".km-scroll-container").css("-webkit-transform","");" in another thread but also not working.
0
Hi Bassanio,
you can can use the mobile scroller reset method for that purpose.
Regards,
Petyo
Telerik
you can can use the mobile scroller reset method for that purpose.
Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!