Hybrid View

  1. #1
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    7
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      1  

    Default Ext.ux.touch.ListPullRefresh

    Ext.ux.touch.ListPullRefresh


    *UPDATE* I have implemented the event based system suggested here, doing away with static methods, and I'm very happy with the results - please take a look at the updated code on Github and read my Blog post about the List Pull Refresh (Pull to Refresh) plugin.

    This is a WIP, but I thought I would share it anyway. It's the typical 'Pull to Refresh' feature that you see in twitter and facebook apps for iPhone. Works with Lists right now, but should also work with a straight DataView.



    Like I said, WIP, so there is still work to be done - please feel free to fork it on Github and send me a pull request with your changes.

    https://github.com/VinylFox/Ext.ux.t...istPullRefresh

    Usage:
    Code:
       {
           xtype: 'list',
           ...,
           plugins: [new Ext.ux.touch.ListPullRefresh({
             listeners: {
                'released': function(plugin,list){
                  // call the plugins processComplete method to hide the 'loading' indicator
                  your_store.on('load',plugin.processComplete,plugin,{single:true});
                  // do whatever needs to happen for reload
                  your_store.load();
                }
             }
           })],
           ...
       }
    Enjoy

  2. #2
    Ext User xnakxx's Avatar
    Join Date
    Sep 2010
    Location
    Central Valley Ca
    Posts
    84
    Vote Rating
    0
    xnakxx is on a distinguished road

      0  

    Default


    Beautiful!!!

  3. #3
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    767
    Vote Rating
    23
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    Didn't test it yet, but I suppose it's nice.

  4. #4
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    31
    Vote Rating
    0
    herkulano is on a distinguished road

      0  

    Default


    Made some small adjustments:

    ----------------------------------------------
    Support for SenchaTouch 1.0.
    Using default SenchaTouch list loading.
    Hide when not being used.
    Follow Scroller.
    ----------------------------------------------

    https://github.com/herkulano/Ext.ux....istPullRefresh

  5. #5
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    7
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default


    Quote Originally Posted by herkulano View Post
    Made some small adjustments...
    Thanks a ton. I pulled your changes into the main branch. Nice work.

    Also fixed up the styling a bit.

  6. #6
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    31
    Vote Rating
    0
    herkulano is on a distinguished road

      0  

    Default


    Thanks, i merged your changes and it looks great.

  7. #7
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,337
    Vote Rating
    75
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Pretty suick dude!
    Last edited by jay@moduscreate.com; 26 Nov 2010 at 8:01 AM. Reason: changed "suck" to "sick"

Similar Threads

  1. Ext.ux.touch.SwipeTabs
    By VinylFox in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 24
    Last Post: 28 Jun 2012, 1:23 AM
  2. Ext Designer for Touch
    By Frank R in forum Sencha Touch 1.x: Discussion
    Replies: 6
    Last Post: 11 Feb 2012, 12:53 PM
  3. Ext JS and Sencha Touch!
    By mcamer in forum Sencha Touch 1.x: Discussion
    Replies: 8
    Last Post: 1 Dec 2010, 10:19 AM
  4. Sencha Touch on iPhone v1 / iPod touch v1 ?
    By palnap in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 28 Oct 2010, 5:30 PM
  5. Ext Touch Core anyone?
    By mystix in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 11 Jun 2010, 4:52 AM

Thread Participants: 16

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar