Page 1 of 1
an app to test the speed of native android scrolling
Posted: Thu Apr 10, 2014 4:54 pm
by keram
Hi,
Does anybody know any app created with LC that is using a data grid form (not the SQL) to display a list of about 500-1000 records that you can view with the native android scrolling. I just want to check the speed and responsiveness of scrolling in such an app and compare to what I created.
keram
Re: an app to test the speed of native android scrolling
Posted: Fri Apr 11, 2014 9:50 am
by Mark
Hi Keram,
Are you the person who uploaded allin1-1.2.4 somewhere? There was a coding error in that stack, which prevented the scroller control from scrolling correctly. It didn't have anything to do with speed.
Kind regards,
Mark
Re: an app to test the speed of native android scrolling
Posted: Fri Apr 11, 2014 11:37 am
by keram
Hi Mark,
Thanks for your response both here and on the other place.
Mark wrote:There was a coding error in that stack, which prevented the scroller control from scrolling correctly.
I tried with your correction to put this:
Code: Select all
put 0,0,(the DGformattedWidth of group "DataGrid 1"),(the DGformattedHeight of group "DataGrid 1") into tContentRect
mobileControlSet "loremScroll", "contentRect", tContentRect
into all the buttons All Categories, My Selection or My Categories scripts but it makes it even worse - the correct groups are not put into grid. When I disable this line:
mobileControlSet "loremScroll", "contentRect", tContentRect
then it woks better. But still the scrolling in the My Selection or My Categories does not work properly. First when I exit the app and start again then the scrolling works OK.
You said: "If I click on My Selection, the datagrid is empty and obviously scrolling won't work." Yes, that's correct, you have to make few selections first enough in numbers to exceed that height of the dg.
I'm attaching the corrected stack.
keram
Re: an app to test the speed of native android scrolling
Posted: Fri Apr 11, 2014 1:15 pm
by bangkok
I don't want to hijack your thread... But there is an alternative to datagrid + mobilecontrol "scroller" (without graphic elements) : rrpTGrid
from :
http://www.runrevplanet.com
Very easy to handle and works very well on Android, although I never tried with with very large grid.
Re: an app to test the speed of native android scrolling
Posted: Sat Apr 12, 2014 2:07 pm
by keram
Hi bangkok,
I checked it out - the demos... It may work very well with spreadsheet type of data, but in my case the data grid works better I think... except the scrolling.
keram