Optimized UI refresh to save battery. Extracted all strings to xml to enable localizations.
The problem was - the updater loop was getting a lot of info from the lib, creating a JSON and so on, every second with no regard to whether UI is visible or not.
I've changed that, now this loop gets data from lib if and only if UI is shown.
Apart from that I've extracted all strings from code to xml to enable localizations to other languages.
Optimized UI refresh to save battery. Extracted all strings to xml to enable localizations.
The problem was - the
updater
loop was getting a lot of info from the lib, creating a JSON and so on, every second with no regard to whether UI is visible or not. I've changed that, now this loop gets data from lib if and only if UI is shown.Apart from that I've extracted all strings from code to xml to enable localizations to other languages.