Hi!

I am trying to speed up my application inspired by this blog post http://www.sencha.com/blog/sencha-to...-memory-usage/ but i am having some issues : Object [object Object] has no method 'setCard'
How can i make this work?
here is some code :
Code:
HomePanel = Ext.extend (Ext.Panel, {
    layout: 'card',
    
    initComponent: function() {
        
        this.topToolbar = {
            xtype: 'toolbar',
            title: 'Home',
            dock: 'top'
        };
        
        this.appsDetails = {
            xtype: 'panel',
            dockItems: [{
                dock: 'top',
                items: [{
                    ui: 'back',
                    handler: function() {
                        this.setCard(this.appsList)
                    }
                }]
            }]
        }
        
        this.appsList = {
            xtype: 'list',
            itemTpl: homelisting,//homelisting,
            store: HomeList,
            
            listeners: {
                itemtap: function() {
                    console.log(this)
                    this.setCard(this.appsDetails) 
                }
            }
        };
        
        this.appsPanel = new Ext.Panel({
            fullscreen: true,
            layout: 'card',
            items: this.appsList,
            dockedItems: this.topToolbar
        })
        
        this.appsPanel.on('cardswitch', function(newcard, oldcard) {
            if (oldCard) {
                this.remove(oldCard, true);
            }
        }, this.appsPanel)
        
        this.items = this.appsPanel
        
        HomePanel.superclass.initComponent.call(this)
    }
});
Thx for your help