I’m developing a production app that has a calendar view on it. I saw some lag on my device (‘Samsung Note 7’) when the navigation went from home to calendarview and I figure that it was a problem with the element an a for-loop function on JS.
I wanted to load a grid for the calendar view so I search around and found this threads: “https://www.fusetools.com/community/forums/howto_discussions/load_data_only_when_needed?page=1”
Afer a long while I notice that noting happens so i ended implementing a simple Timer function to load my grids and avoid the awful lag transition.
FYI:
- I’m using a EdgeNavigator
- If using element with a for loop some lag will occur
- WhileActive or WhileInactive won’t work inside a Page that’s been called by the Element.
A simple Timer function fixed the problem. After the Navigator loads the CalendarView the timer function fires my grid after 750 mill
I’ll be more than happy to explain more if needed.
Javier.
P.S.
Please update the documentation on:
Full Uno Class Reference
Native UX components
Native JS modules
Foreign code
I would love to see some Tutorials on the UNO language