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
an app to test the speed of native android scrolling
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
an app to test the speed of native android scrolling
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit
Re: an app to test the speed of native android scrolling
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: an app to test the speed of native android scrolling
Hi Mark,
Thanks for your response both here and on the other place.
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
Thanks for your response both here and on the other place.
I tried with your correction to put this:Mark wrote:There was a coding error in that stack, which prevented the scroller control from scrolling correctly.
Code: Select all
put 0,0,(the DGformattedWidth of group "DataGrid 1"),(the DGformattedHeight of group "DataGrid 1") into tContentRect
mobileControlSet "loremScroll", "contentRect", tContentRect
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
- Attachments
-
- android native scroller for data grid_correction1.zip
- (30.35 KiB) Downloaded 280 times
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit
Re: an app to test the speed of native android scrolling
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.
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
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
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
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit