lib/Ext/dataview/List.js
function() {
        var me = this,
            container = me.container,
            scrollViewElement = me.scrollViewElement,
            indexBar = me.getIndexBar(),
            triggerEvent = me.getTriggerEvent(),
            triggerCtEvent = me.getTriggerCtEvent();

        if (indexBar) {
            scrollViewElement.appendChild(indexBar.renderElement);
        }

        if (triggerEvent) {
            me.on(triggerEvent, me.onItemTrigger, me);
        }
        if (triggerCtEvent) {
            me.on(triggerCtEvent, me.onContainerTrigger, me);
        }

        container.element.on({
            delegate: '.' + me.getBaseCls() + '-disclosure',
            tap: 'handleItemDisclosure',
            scope: me
        });

        container.element.on({
            resize: 'onContainerResize',
            scope: me
        });

        // Android 2.x not a direct child
        container.innerElement.on({
            touchstart: 'onItemTouchStart',
            touchend: 'onItemTouchEnd',
            tap: 'onItemTap',
            taphold: 'onItemTapHold',
            singletap: 'onItemSingleTap',
            doubletap: 'onItemDoubleTap',
            swipe: 'onItemSwipe',
            delegate: '.' + Ext.baseCSSPrefix + 'list-item',
            scope: me
        });

        if (me.getStore()) {
            me.refresh();
        }
    }
function() {
        var me = this,
            container = me.container,
            scrollViewElement = me.scrollViewElement,
            indexBar = me.getIndexBar(),
            triggerEvent = me.getTriggerEvent(),
            triggerCtEvent = me.getTriggerCtEvent();

        if (indexBar) {
            scrollViewElement.appendChild(indexBar.renderElement);
        }

        if (triggerEvent) {
            me.on(triggerEvent, me.onItemTrigger, me);
        }
        if (triggerCtEvent) {
            me.on(triggerCtEvent, me.onContainerTrigger, me);
        }

        container.element.on({
            delegate: '.' + me.getBaseCls() + '-disclosure',
            tap: 'handleItemDisclosure',
            scope: me
        });

        container.element.on({
            resize: 'onContainerResize',
            scope: me
        });

        // Android 2.x not a direct child
        container.innerElement.on({
            touchstart: 'onItemTouchStart',
            touchend: 'onItemTouchEnd',
            tap: 'onItemTap',
            taphold: 'onItemTapHold',
            singletap: 'onItemSingleTap',
            doubletap: 'onItemDoubleTap',
            swipe: 'onItemSwipe',
            delegate: '.' + Ext.baseCSSPrefix + 'list-item',
            scope: me
        });

        if (me.getStore()) {
            me.refresh();
        }
    }
function ( ) { var me = this , container = me . container , scrollViewElement = me . scrollViewElement , indexBar = me . getIndexBar ( ) , triggerEvent = me . getTriggerEvent ( ) , triggerCtEvent = me . getTriggerCtEvent ( ) ; if ( indexBar ) { scrollViewElement . appendChild ( indexBar . renderElement ) ; } if ( triggerEvent ) { me . on ( triggerEvent , me . onItemTrigger , me ) ; } if ( triggerCtEvent ) { me . on ( triggerCtEvent , me . onContainerTrigger , me ) ; } container . element . on ( { delegate : '.' + me . getBaseCls ( ) + '-disclosure' , tap : 'handleItemDisclosure' , scope : me } ) ; container . element . on ( { resize : 'onContainerResize' , scope : me } ) ; // Android 2.x not a direct child container . innerElement . on ( { touchstart : 'onItemTouchStart' , touchend : 'onItemTouchEnd' , tap : 'onItemTap' , taphold : 'onItemTapHold' , singletap : 'onItemSingleTap' , doubletap : 'onItemDoubleTap' , swipe : 'onItemSwipe' , delegate : '.' + Ext . baseCSSPrefix + 'list-item' , scope : me } ) ; if ( me . getStore ( ) ) { me . refresh ( ) ; } }
We override DataView's initialize method with an empty function
We override DataView s initialize method with an empty function