title: How to bind local storage data to store sencha touch 2
body: <pre><code>//In view i have created one list with item tpl. below is the code
  {
   xtype:'list',
   id:'userReviewList',
   title:'User Review',
   store:'UserReviewStore',
   height:300,
   itemTpl:'&lt;div &gt;{Comment}&lt;/div&gt;' + '&lt;div &gt;{Rating}&lt;/div&gt;' + '&lt;div &gt;{ReviewId}&lt;/div&gt;'
  }
  </code></pre>
  
  <p>//Below i am creating model for that  with hard coded values in <strong>data section</strong>. </p>
  
  <pre><code>Ext.define('AppName.store.UserReviewStore',{
      extend:'Ext.data.Store',
      id:'reviewStore',
      config:{
  
          fileds:[
              {name:'Comment',type:'string'},
              {name:'Rating', type:'int'},
              {name:'ReviewId',tyep:'int'}
          ]
      },
  
      data: [
          { Comment: 'nice', Rating: 5, ReviewId: 1 },
          { Comment: 'cool', Rating: 4, ReviewId: 2 },
          { Comment: 'awesome', Rating: 3, ReviewId: 3 }
      ]
  
  })
  </code></pre>
  
  <p>//I am able to display data in list view but i need to use local storage data to display in list. Bellow is the code where i get local storage data which my colleague storing when app starts so now i have to retrieve data from local storage and need to bind to store</p>
  
  <pre><code>var retrievedObject = localStorage.getItem('testObject');//getting local storage
  var jsonObj = Ext.decode(retrievedObject);//decoding
  </code></pre>
  
  <p>after this decode i will get one list of values like</p>
  
  <pre><code>var list = jsonObj.userReviewList 
  </code></pre>
  
  <p>i need to bind this list to store how to do that . where i should write logic to bind to store </p>