Results 1 to 4 of 4

Thread: Pull to Refresh in ST 2.x-pr1

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    55
    Vote Rating
    0
      0  

    Default Pull to Refresh in ST 2.x-pr1

    Based off the VinylFox plugin, ported to 2.x


    http://github.com/j-mcnally/Sencha2-PullToRefresh

    Hope it helps someone

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,336
    Vote Rating
    1296
      0  

    Default

    Nice! It's not documented but have you seen the Ext.plugins.PullRefreshPlugin class? Haven't seen if it works yet...

    Either way, still great to dig into source and create something. Always have taught myself by creating extensions/plugins
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

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

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User Surykat's Avatar
    Join Date
    Jul 2011
    Location
    BIALYSTOK, Poland
    Posts
    58
    Vote Rating
    1
      0  

    Default

    Could You post some sample code? Couse I'm trying to make it work properly and have a strange result. I created a 1000 element store and binded it to my list (with working PullToRefresh plugin).

    The situation is that: the 1000 elements are rendered at start and when I pull first time I can see a datestamp with an image suggesting that pull-to-refresh is working, but nothing else happens. I'm scrolling my list normally after that. It isn't normal I think...

    Thanks in advance!

  4. #4
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Vote Rating
    3
      0  

    Default

    That's great, will test this ASAP!

Posting Permissions

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