Can anyone offer guidance on the most efficient method for loading multiple UI objects onto a window using titanium javascript?
For instance, if I need to load 50 views into my window as quickly as possible.
Currently, I am employing a for loop, but it's taking too long and causing the app to appear frozen while the loop is running.
Edit:
https://i.sstatic.net/ZgpE9.png
For each individual, I must generate a blue line and then create lines for all the medications that they require. The issue arises when dealing with over 30 individuals, each needing 5 medications, resulting in 150 lines along with 30 blue lines. The process of creating this layout is proving to be time-consuming.