List item's setSelected method does not fire select event - SAPUI5
<p>I am trying to select the first item of list in Master view. I am doing this from Detail controller. I am able to select the item in the list but it does not fire the event to display the details in Detail view.</p>

<p>Master.view.xml</p>

<pre><code>&lt;List id="idMasterList" mode="{device&gt;/listMode}" select="onSelect" 
                noDataText="{i18nMaster&gt;masterListNoDataText}"  
                items="{  path: '/', sorter: {path: 'name'} }" icon="sap-icon://refresh"&gt;
            &lt;items&gt;
              &lt;StandardListItem id="idStandardItem" type="{device&gt;/listItemType}"  
                tooltip="{name}" 
                title="{name}"
                info="{total}/{due}" 
                /&gt; 
            &lt;/items&gt;                            
        &lt;/List&gt;
</code></pre>

<p>Detail.controller.js</p>

<pre><code>sap.ui.getCore().byId("__xmlview2--idMasterList").getItems()[0].setSelected(true);
</code></pre>

<p>I could not find any information which can directly solve this (or) i did not get it!!!</p>

<p>Any help is appreciated.</p>

<p>Thanks</p>