Threaded View
-
10 Nov 2010 8:46 AM #1
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:
EnjoyCode:{ 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(); } } })], ... }-Shea
My Blog:VinylFox | Twitter:@VinylFox | JavaScript Magazine:JSMag | Curator of the Baltimore/DC JavaScript Meetup | Author: Learning ExtJS 3.x Book
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs
Similar Threads
-
Ext.ux.touch.SwipeTabs
By VinylFox in forum Sencha Touch 1.x: Examples and ShowcasesReplies: 24Last Post: 28 Jun 2012, 1:23 AM -
Ext Designer for Touch
By Frank R in forum Sencha Touch 1.x: DiscussionReplies: 6Last Post: 11 Feb 2012, 12:53 PM -
Ext JS and Sencha Touch!
By mcamer in forum Sencha Touch 1.x: DiscussionReplies: 8Last Post: 1 Dec 2010, 10:19 AM -
Sencha Touch on iPhone v1 / iPod touch v1 ?
By palnap in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 28 Oct 2010, 5:30 PM -
Ext Touch Core anyone?
By mystix in forum Sencha Touch 1.x: DiscussionReplies: 1Last Post: 11 Jun 2010, 4:52 AM




Reply With Quote