com.codename1.ui.table.Table VS com.codename1.ui.table.TableLayout with excess of 1k rows

16 views
Skip to first unread message

shop.servic...@gmail.com

unread,
Jun 2, 2019, 11:51:03 AM6/2/19
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, Android 7+ IOS 12+

I have a parts lookup table requirement where it is possible for a filtered list to contain in excess of 1K rows.

Currently using com.codename1.ui.table.TableLayout(x, 8) 

However when scrolling, the list, the device is laboring and is not performing well (sluggish)

Short of using a dynamic table (load chunks)

What is your opinion on what method I should use.

Thanks in advance

Regards

Shai Almog

unread,
Jun 3, 2019, 12:10:55 AM6/3/19
to CodenameOne Discussions
You should use InfiniteContainer. It was generally designed for box layout Y and might be better with this but it's possible it will work with a TableLayout. This will implement chunking for you implicitly.

shop.servic...@gmail.com

unread,
Jun 3, 2019, 1:38:10 PM6/3/19
to CodenameOne Discussions
Thanks.
Reply all
Reply to author
Forward
0 new messages