Open xsznix opened 10 years ago
This wasn't lazy, but intentional. If grades are loaded on a per cycle basis, swiping between cycles wouldn't be smooth. Asynchronous refresh might fix this, but 6 cycles would still have to be loaded the first time the app is launched.
"Lazy loading" means loading the cycle grades only when the user switches to that cycle. See the Wikipedia article on lazy evalutation. It does not reflect your coding style or ability.
My bad :D
Don't load all cycles' grades at once; load cycles only when requested by the user.