Quote:
Originally Posted by pazos
Hi, if this is something you want for yourself, even without a real purpose, I think you can build something quickly using the emulator. We ship a widget test utility in https://github.com/koreader/koreader...s/wbuilder.lua, so you can play with your widget without launching a full blown KOReader instance.
If you want to build something that does some background job while displaying the animation that's harder.
A lua state/vm is mostly single threaded. The best you can do is some sort of cooperative multitasking, in the form of lua coroutines
|
Maybe I am wrong but then, how is the read timer counting down in the background while we continue to use the ui.