title: Sencha Touch 2 How to get selected itemTpl in a list
body: <p>In Sencha Touch 2. How do I get the selected itemTpl in a list view?</p>
  
  <p>So far I have this code: </p>
  
  <pre><code>xtype : 'list',
                          store : myStore,
                          id: 'list',
                          itemTpl : "{num}",
                          flex : 1,
                          listeners : {
                              itemsingletap : function(list, idx, target, record, evt) {
                                  var item = getItemTpl(); 
                                  var tpl = Ext.getCmp('list').getItemTpl();
                                  var me = Ext.getCmp('list').selected.getRange();
  
                                  var records = list.getItemTpl();
                                  var recordB = record.getRecord(item);                        
                                  var selected = record.get('selected');
  
                                  console.log(selected);
  
                                  view.push({
                                      xtype : 'hView'
                                  });
  </code></pre>
  
  <p>Yes, I have tried everything I can think of. ;)</p>
  
  <p>Thanks,</p>