Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Threaded View

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    49
    Answers
    2
    Vote Rating
    3
    svendahlstrand is on a distinguished road

      1  

    Default Answered: Best practices to save user settings locally

    Answered: Best practices to save user settings locally


    Hello!

    Are there best practices when storing user settings locally in Sencha Touch? Example:

    A simple, one user, app where the user can change some settings - like background color, text size etcetera.

    Use case:
    • The user navigates to the settings view
    • The user changes some settings in an ordinary form
    • The user clicks save and the settings are persisted
    So I would like to use local storage for this. Can I use the model layer with a LocalStorage proxy? The way I see it, there's only one Settings object: a singleton. How do I handle that?

    Thanks!

  2. you can check the count of the store and work with a record with the same ID, should be only one record in the store. so if no record exist create one otherwise work with the existing one