A Sencha Touch 2 List view with static data

Here's an example of a Sencha Touch 2 List view that's populated with static data:

Ext.create('Ext.List', {
    store: {
        fields: ['name'],
        data: [
            {name: 'Notes'},
            {name: 'To-Do List'},
            {name: 'Contacts'},
        ]
    },

    itemTpl: '{name}'
});

Something like this could be used for a list of data items, or menu items.

This example comes from this link.

Sencha Touch 2 example Store with static data

Here's a related example that shows how to populate a Sencha Touch 2 Store with static data:

Ext.create('Ext.data.Store', {
    model: 'User',
    data: [
        { firstName: 'Ed',    lastName: 'Spencer' },
        { firstName: 'Tommy', lastName: 'Maintz' },
        { firstName: 'Aaron', lastName: 'Conran' },
        { firstName: 'Jamie', lastName: 'Avins' }
    ]
});

It comes from this URL.