← Back to team overview

ubuntu-phone team mailing list archive

Re: StateSaver performance issue

 

On mar, 2014-02-18 at 09:31 +0200, Zsombor Egri wrote:
> I must agree with Roman: if you want to save the language, save the
> last selected one, and check it in each delegate.

I need to store each of the languages as enabled/disabled (not just
one). I've managed to change the code, so the StateSaver is now just
storing an object, which is used to map language codes to boolean
values. This solves the performance issue.

> We are also preparing to release the UbuntuSettings API, which woudl
> suit better for your needs. Stay tuned.

Excellent, please send an email out with a link to the documentation
when this is ready. I'll update the code then.

Attachment: signature.asc
Description: This is a digitally signed message part


References