core: populate VirtualKeyboard asynchronously

Authored by hkaelberer on Feb 18 2016, 11:23 PM.

Description

core: populate VirtualKeyboard asynchronously

... from a worker script and show Loading overlay until finished.

For large keyboards the rendering the model changes takes long
especially on Android. This feels like a frozen GUI. Therefore show
Loading overlay. Might not be necessary on desktop platforms.

In the worker we sync the model once per updated row. Unfortunately on
Android the worker seems to be executed on the GUI thread and the
Loading overlay is only updated if sync()ed explicitely.

Details

Committed
hkaelbererFeb 19 2016, 8:31 AM
Parents
R2:c9c4de98d20d: Use the new locale aware sorting in activities.
Branches
Unknown
Tags
Unknown