Skip to first unread message

Trojan Batman

unread,
Apr 6, 2016, 7:30:11 PM4/6/16
to mitappinv...@googlegroups.com
Hi. I am working on an App Inventor project, and I have encountered some lag issues. I have been working with lists, and I have over 32 pieces of indexes over 7 different lists, totaling over 200 pieces of individual data, and I plan to increase to 80 pieces of indexes over 7 lists. I have already been encountering lag problems at this point, and I don't want to have to deal with this as I keep on adding list items and indexes. I do not think it is my computer, which is running on Windows 10 on a ethernet connection with a 100 mbps connection, and when I open task manager, there is no bump in usage, it is barely 2 percent. Is there any fix for this? or do I have to deal with this? It is very visible when I start scrolling, and it is very unbearable.
Message has been deleted

Abraham Getzler

unread,
Apr 7, 2016, 9:39:11 AM4/7/16
to MIT App Inventor Forum
Did you define your list data as individual blocks, or did you embed the data in your Media drawer as .csv files to be loaded and converted at runtime?

There is a heavy load on the browser's Javascript engine to manage a screen full of many blocks.

First, minimize all blocks until you need to edit them.

If you haven't done so yet, take .aia exports as backup, to minimize disaster loss.

Reduce block count by these techniques ...
  • Make the app table driven
  • Load data from the Media drawer
  • Use procedures to eliminate common code
  • Use Any Component blocks in procedures to handle redundant GUI elements
  • Use lookup in pairs instead of long IF THEN ElSE ladders
If these don't help, also

ABG


Jona Mathews

unread,
Apr 10, 2016, 11:00:58 AM4/10/16
to MIT App Inventor Forum
You may need the new updated version of app inventor because the same thing happened to me.
Reply all
Reply to author
Forward
0 new messages