Results 1 to 3 of 3

Thread: "Reload" the app

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    85
    Answers
    4
    Vote Rating
    2
      0  

    Default Answered: "Reload" the app

    Hi all,

    I'm building a native app, I have a logout button that lead the user to the initial login screen, but I want to know if exist way to "clean" the app, like it was just loaded, I mean Stores clean, views destroyed etc.

    Thks

  2. You can destroy the views and removeAll on the stores. I wouldn't try to reload the app

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    You can destroy the views and removeAll on the stores. I wouldn't try to reload the app
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  4. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    85
    Answers
    4
    Vote Rating
    2
      0  

    Default

    Yeah, that's what I did.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •