How to pass data from one view to another view in SAPUI5
<p><em>Master Details Template</em></p>

<p>When click on <code>Master[list]</code> it will navigate to detail page with table data, suppose four column are there and an "Add" Button in the last column.
Now what I want is, on click that "Add" button that row data will bind direct in cart view.</p>

<p>I tried using local storage, but how to call local stored data in cart view.</p>

<p><a href="http://i.stack.imgur.com/FzPLz.png" rel="nofollow">Cart view is on Master page with icon</a></p>

<p><a href="http://i.stack.imgur.com/QiHB4.png" rel="nofollow">On click cart icon view page is this</a></p>

<pre><code>onPress: function(evt){
    localStorage.setItem('user', JSON.stringify({ 
        a : evt.oSource.oParent.mAggregations.cells[0].mProperties.src,
        b : evt.oSource.oParent.mAggregations.cells[1].mProperties.text,
        c : evt.oSource.oParent.mAggregations.cells[2].mProperties.text,
        d : evt.oSource.oParent.mAggregations.cells[3].mProperties.text 
    })); 
    user = JSON.parse(localStorage.getItem('user'));
}
</code></pre>