1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    55
    Vote Rating
    0
    justinKohactive is on a distinguished road

      0  

    Default Pull to Refresh in ST 2.x-pr1

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,015
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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 @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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
    Surykat is on a distinguished road

      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
    olouvignes is on a distinguished road

      0  

    Default


    That's great, will test this ASAP!